summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_parse.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-14 23:16:39 +0000
committerJonathan Kolb <jon@b0g.us>2006-12-14 23:16:39 +0000
commit0b31ae92e6f8b762f9468179e6d4920395ca8f11 (patch)
tree5f2e6e33a20356b86f8512c280523d36cca90e50 /src/http/ngx_http_parse.c
parentea13a13873ecf0057eb8542f0bdf9704b2082363 (diff)
downloadnginx-0b31ae92e6f8b762f9468179e6d4920395ca8f11.tar.gz
Changes with nginx 0.5.4 15 Dec 2006v0.5.4
*) Feature: the "perl" directive may be used inside the "limit_except" block. *) Bugfix: the ngx_http_dav_module required the "Date" request header line for the DELETE method. *) Bugfix: if one only parameter was used in the "dav_access" directive, then nginx might report about configuration error. *) Bugfix: a segmentation fault might occur if the $host variable was used; bug appeared in 0.4.14.
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r--src/http/ngx_http_parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index b141000b6..135208ef0 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -290,6 +290,7 @@ ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b)
state = sw_after_slash_in_uri;
break;
default:
+ r->host_end = p;
return NGX_HTTP_PARSE_INVALID_REQUEST;
}
break;