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 bbda9ec..cc9a6f8 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c
@@ -1032,7 +1032,6 @@ 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;