aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_parse.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-03-05 06:37:42 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-03-05 06:37:42 +0000
commit3d062ad9393e7bc22a448971799808be55372f91 (patch)
tree15558f6465ed0e632d3442f54140af8aa5acca41 /src/http/ngx_http_parse.c
parent6a644c694de6a7afc87d25395c2cf6fcc46c4e6f (diff)
downloadnginx-3d062ad9393e7bc22a448971799808be55372f91.tar.gz
nginx-3d062ad9393e7bc22a448971799808be55372f91.zip
nginx-0.0.1-2003-03-05-09:37:42 import
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r--src/http/ngx_http_parse.c2
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) {