Mercurial > hg > nginx-vendor-0-7
comparison src/http/ngx_http_request.c @ 226:21f2ace7c936 NGINX_0_3_60
nginx 0.3.60
*) Bugfix: a worker process may got caught in an endless loop while an
error redirection; bug appeared in 0.3.59.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 18 Aug 2006 00:00:00 +0400 |
parents | 559bc7ec214e |
children | 38e7b94d63ac |
comparison
equal
deleted
inserted
replaced
225:d91e823fa629 | 226:21f2ace7c936 |
---|---|
422 r->headers_in.content_length_n = -1; | 422 r->headers_in.content_length_n = -1; |
423 r->headers_in.keep_alive_n = -1; | 423 r->headers_in.keep_alive_n = -1; |
424 r->headers_out.content_length_n = -1; | 424 r->headers_out.content_length_n = -1; |
425 r->headers_out.last_modified_time = -1; | 425 r->headers_out.last_modified_time = -1; |
426 | 426 |
427 r->uri_changes = NGX_HTTP_MAX_URI_CHANGES + 1; | |
428 r->subrequests = NGX_HTTP_MAX_SUBREQUESTS + 1; | |
429 | |
427 r->http_state = NGX_HTTP_READING_REQUEST_STATE; | 430 r->http_state = NGX_HTTP_READING_REQUEST_STATE; |
428 | 431 |
429 ctx = c->log->data; | 432 ctx = c->log->data; |
430 ctx->request = r; | 433 ctx->request = r; |
431 ctx->current_request = r; | 434 ctx->current_request = r; |
664 #endif | 667 #endif |
665 | 668 |
666 rev->handler = ngx_http_request_handler; | 669 rev->handler = ngx_http_request_handler; |
667 c->write->handler = ngx_http_request_handler; | 670 c->write->handler = ngx_http_request_handler; |
668 r->read_event_handler = ngx_http_block_read; | 671 r->read_event_handler = ngx_http_block_read; |
669 | |
670 r->uri_changes = NGX_HTTP_MAX_URI_CHANGES + 1; | |
671 r->subrequests = NGX_HTTP_MAX_SUBREQUESTS + 1; | |
672 | 672 |
673 ngx_http_handler(r); | 673 ngx_http_handler(r); |
674 | 674 |
675 return; | 675 return; |
676 } | 676 } |