Introducing write tail reference to avoid buffer chain iteration.

This commit is contained in:
Max Romanov
2019-12-24 18:04:00 +03:00
parent faeb73a65e
commit 806b3945fe
2 changed files with 17 additions and 4 deletions

View File

@@ -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.