summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_h1proto.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-12-24 18:04:00 +0300
committerMax Romanov <max.romanov@nginx.com>2019-12-24 18:04:00 +0300
commit806b3945fed6f7d2a8e836487dcea9c63f8d7129 (patch)
treeabc79511b751bce0cf13b38e7619370778c8988e /src/nxt_h1proto.h
parentfaeb73a65e9ab07c1636cccb33f23df96fddd330 (diff)
downloadunit-806b3945fed6f7d2a8e836487dcea9c63f8d7129.tar.gz
unit-806b3945fed6f7d2a8e836487dcea9c63f8d7129.tar.bz2
Introducing write tail reference to avoid buffer chain iteration.
Diffstat (limited to 'src/nxt_h1proto.h')
-rw-r--r--src/nxt_h1proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_h1proto.h b/src/nxt_h1proto.h
index 61da6770..3294713f 100644
--- a/src/nxt_h1proto.h
+++ b/src/nxt_h1proto.h
@@ -40,6 +40,8 @@ struct nxt_h1proto_s {
nxt_http_request_t *request;
nxt_buf_t *buffers;
+
+ nxt_buf_t **conn_write_tail;
/*
* All fields before the conn field will
* be zeroed in a keep-alive connection.