mirror of
https://github.com/nginx/nginx.git
synced 2024-12-14 20:28:59 +08:00
fix segfault if 400 or 414 errors are handled intricately
This commit is contained in:
parent
543151b300
commit
1099f9f657
@ -384,6 +384,7 @@ ngx_http_init_request(ngx_event_t *rev)
|
|||||||
r->loc_conf = cscf->ctx->loc_conf;
|
r->loc_conf = cscf->ctx->loc_conf;
|
||||||
|
|
||||||
rev->handler = ngx_http_process_request_line;
|
rev->handler = ngx_http_process_request_line;
|
||||||
|
r->read_event_handler = ngx_http_block_reading;
|
||||||
|
|
||||||
#if (NGX_HTTP_SSL)
|
#if (NGX_HTTP_SSL)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user