diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index fd48fcdff..c1fba529d 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -743,6 +743,7 @@ ngx_http_parse_header_line(ngx_http_request_t *r, ngx_buf_t *b, switch (ch) { case CR: + r->header_name_start = p; r->header_end = p; state = sw_header_almost_done; break;