From 806b3945fed6f7d2a8e836487dcea9c63f8d7129 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 24 Dec 2019 18:04:00 +0300 Subject: Introducing write tail reference to avoid buffer chain iteration. --- src/nxt_h1proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nxt_h1proto.h') 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. -- cgit