summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-26 17:09:27 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-10-26 17:09:27 +0000
commit6118897e3388e4db5d693f27ac4c7312e07f3d12 (patch)
tree0228aaa538e452a4a655648d51fe06e97820bb52 /src/http/ngx_http_request.c
parentf3c5789e7d3ad2e124079c388ee90c6d54c18495 (diff)
downloadnginx-6118897e3388e4db5d693f27ac4c7312e07f3d12.tar.gz
nginx-6118897e3388e4db5d693f27ac4c7312e07f3d12.tar.bz2
merge r3001, r3007, r3013:
fix variuos segfaults: *) fix segfault if 400 or 414 errors are handled intricately *) ngx_http_upstream_create() to cleanup the previous upstream after internal redirect
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index ca6530045..d1733d66c 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -384,6 +384,7 @@ ngx_http_init_request(ngx_event_t *rev)
r->loc_conf = cscf->ctx->loc_conf;
rev->handler = ngx_http_process_request_line;
+ r->read_event_handler = ngx_http_block_reading;
#if (NGX_HTTP_SSL)