]> git.kaiwu.me - nginx.git/commitdiff
we do not need the zero terminated r->uri for a long time
authorIgor Sysoev <igor@sysoev.ru>
Sat, 28 Oct 2006 08:45:01 +0000 (08:45 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sat, 28 Oct 2006 08:45:01 +0000 (08:45 +0000)
src/http/ngx_http_parse.c

index bbda9ecd8c741322026d810805dbc8e097091454..cc9a6f81e1c6cf640568d1b320cb924df12c2f14 100644 (file)
@@ -1032,7 +1032,6 @@ ngx_http_parse_complex_uri(ngx_http_request_t *r)
 done:
 
     r->uri.len = u - r->uri.data;
-    r->uri.data[r->uri.len] = '\0';
 
     if (r->uri_ext) {
         r->exten.len = u - r->uri_ext;