summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_parse.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-28 08:45:01 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-28 08:45:01 +0000
commit4346bab52ea1d933666a078da3b0b470222829d2 (patch)
tree2de8bb7ee79cf1ffc76104942216c014b4a76ed7 /src/http/ngx_http_parse.c
parentda04d54f8110bdb83ceb77c2825b788fa73d87a4 (diff)
downloadnginx-4346bab52ea1d933666a078da3b0b470222829d2.tar.gz
nginx-4346bab52ea1d933666a078da3b0b470222829d2.tar.bz2
we do not need the zero terminated r->uri for a long time
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_parse.c1
1 files changed, 0 insertions, 1 deletions
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;