summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_parse.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:54 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:54 +0300
commitddde9c23cf302309d85ccc24b35075ce94da89a0 (patch)
tree2bf729e8f0315cd4c775be572c0f01688d11bf03 /src/nxt_http_parse.c
parent57e326b4119863f737d8677adc69dc53c7e4ed27 (diff)
downloadunit-ddde9c23cf302309d85ccc24b35075ce94da89a0.tar.gz
unit-ddde9c23cf302309d85ccc24b35075ce94da89a0.tar.bz2
Initial proxy support.
Diffstat (limited to 'src/nxt_http_parse.c')
-rw-r--r--src/nxt_http_parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http_parse.c b/src/nxt_http_parse.c
index e6e91454..4c5d4936 100644
--- a/src/nxt_http_parse.c
+++ b/src/nxt_http_parse.c
@@ -787,6 +787,7 @@ nxt_http_parse_field_end(nxt_http_request_parse_t *rp, u_char **pos,
field->hash = nxt_http_field_hash_end(rp->field_hash);
field->skip = 0;
+ field->hopbyhop = 0;
field->name_length = rp->field_name.length;
field->value_length = rp->field_value.length;