changeset 3000:66ef86affbb8

fix segfault if 400 or 414 errors are handled intricately
author Igor Sysoev <igor@sysoev.ru>
date Fri, 24 Jul 2009 19:20:29 +0000
parents 5aa29f3d8832
children cf21d35248bc
files src/http/ngx_http_request.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_request.c	Fri Jul 24 13:32:41 2009 +0000
+++ b/src/http/ngx_http_request.c	Fri Jul 24 19:20:29 2009 +0000
@@ -384,6 +384,7 @@
     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)