From: Igor Sysoev Date: Sat, 28 Oct 2006 08:45:01 +0000 (+0000) Subject: we do not need the zero terminated r->uri for a long time X-Git-Tag: release-0.4.12~15 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=4346bab52ea1d933666a078da3b0b470222829d2;p=nginx.git we do not need the zero terminated r->uri for a long time --- diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index bbda9ecd8..cc9a6f81e 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -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;