# HG changeset patch # User Igor Sysoev # Date 1162025101 0 # Node ID 7d365efd704d133fb1d1e9469f54722e0d0e6713 # Parent 8eb7f9b01d3fa6209f81487dd87b087158d19c71 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 --- 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_requ 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;