summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-04-07 13:37:14 +0000
committerJonathan Kolb <jon@b0g.us>2006-04-07 13:37:14 +0000
commitb3661298bb72848e9c6f73209da256e7ae34ef7b (patch)
tree98bb3ca70738b452999cad847884fe674d040c10 /src/http/ngx_http_request.c
parent49072507cf1eb437c0f1355d0281d9434e74b9fc (diff)
downloadnginx-b3661298bb72848e9c6f73209da256e7ae34ef7b.tar.gz
Changes with nginx 0.3.37 07 Apr 2006v0.3.37
*) Feature: the "limit_except" directive. *) Feature: the "if" directive supports the "!~", "!~*", "-f", and "!-f" operators. *) Feature: the ngx_http_perl_module supports the $r->request_body method. *) Bugfix: in the ngx_http_addition_filter_module.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 514658ca2..103db1788 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -410,6 +410,8 @@ void ngx_http_init_request(ngx_event_t *rev)
r->start_time = ngx_time();
+ r->method = NGX_HTTP_UNKNOWN;
+
r->headers_in.content_length_n = -1;
r->headers_in.keep_alive_n = -1;
r->headers_out.content_length_n = -1;