Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 2250:7fc20e1105cd
set request handlers, this fixes complex proxied 400 handler with SSI includes
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 15 Sep 2008 16:44:37 +0000 |
parents | f62751dab60d |
children | 8c17cfe63d2c |
comparison
equal
deleted
inserted
replaced
2249:852fe29e6446 | 2250:7fc20e1105cd |
---|---|
1749 if (c->write->timer_set) { | 1749 if (c->write->timer_set) { |
1750 ngx_del_timer(c->write); | 1750 ngx_del_timer(c->write); |
1751 } | 1751 } |
1752 } | 1752 } |
1753 | 1753 |
1754 c->read->handler = ngx_http_request_handler; | |
1755 c->write->handler = ngx_http_request_handler; | |
1756 | |
1754 ngx_http_finalize_request(r, ngx_http_special_response_handler(r, rc)); | 1757 ngx_http_finalize_request(r, ngx_http_special_response_handler(r, rc)); |
1755 return; | 1758 return; |
1756 } | 1759 } |
1757 | 1760 |
1758 if (r != r->main || rc == NGX_AGAIN) { | 1761 if (r != r->main || rc == NGX_AGAIN) { |