diff src/http/ngx_http_parse.c @ 65:4222c496acb3

nginx-0.0.1-2003-03-05-09:37:42 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 05 Mar 2003 06:37:42 +0000
parents e8cdc2989cee
children 5a7d1aaa1618
line wrap: on
line diff
--- 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, c
 
         /* 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) {