comparison src/http/ngx_http_request.c @ 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 f33c48457d0c
children 67254117b774
comparison
equal deleted inserted replaced
2999:5aa29f3d8832 3000:66ef86affbb8
382 r->main_conf = cscf->ctx->main_conf; 382 r->main_conf = cscf->ctx->main_conf;
383 r->srv_conf = cscf->ctx->srv_conf; 383 r->srv_conf = cscf->ctx->srv_conf;
384 r->loc_conf = cscf->ctx->loc_conf; 384 r->loc_conf = cscf->ctx->loc_conf;
385 385
386 rev->handler = ngx_http_process_request_line; 386 rev->handler = ngx_http_process_request_line;
387 r->read_event_handler = ngx_http_block_reading;
387 388
388 #if (NGX_HTTP_SSL) 389 #if (NGX_HTTP_SSL)
389 390
390 { 391 {
391 ngx_http_ssl_srv_conf_t *sscf; 392 ngx_http_ssl_srv_conf_t *sscf;