diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-12-24 18:04:00 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-12-24 18:04:00 +0300 |
commit | 806b3945fed6f7d2a8e836487dcea9c63f8d7129 (patch) | |
tree | abc79511b751bce0cf13b38e7619370778c8988e /src/nxt_h1proto.h | |
parent | faeb73a65e9ab07c1636cccb33f23df96fddd330 (diff) | |
download | unit-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.h | 2 |
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. |