summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index e857ded4..f3143687 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -55,8 +55,12 @@ typedef struct {
nxt_http_te_t transfer_encoding:8; /* 2 bits */
nxt_http_request_t *request;
- nxt_conn_t *conn;
nxt_buf_t *buffers;
+ /*
+ * All fields before the conn field will
+ * be zeroed in a keep-alive connection.
+ */
+ nxt_conn_t *conn;
} nxt_h1proto_t;