aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index cbc412c74..a6ee74ecf 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -2065,6 +2065,9 @@ data:
done:
+ ctx->state = 0;
+ b->pos = pos + 1;
+
return NGX_DONE;
invalid: