diff options
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r-- | src/http/ngx_http_parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index a741f090f..49864dde5 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -41,6 +41,8 @@ printf("\nstate: %d, pos: %x, end: %x, char: '%c' buf: %s", /* HTTP methods: GET, HEAD, POST */ case sw_start: + r->request_start = p - 1; + switch (ch) { case 'G': if (p + 1 >= r->header_in->last.mem) { |