Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 895:49d03c183ad2
fix post_action for disconnected client
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 11 Dec 2006 08:31:54 +0000 |
parents | 4d68c486fcb0 |
children | a6fe6bedb9e3 |
comparison
equal
deleted
inserted
replaced
894:4f7dca9c37f0 | 895:49d03c183ad2 |
---|---|
2245 | 2245 |
2246 r->http_version = NGX_HTTP_VERSION_9; | 2246 r->http_version = NGX_HTTP_VERSION_9; |
2247 r->header_only = 1; | 2247 r->header_only = 1; |
2248 r->post_action = 1; | 2248 r->post_action = 1; |
2249 | 2249 |
2250 r->read_event_handler = ngx_http_block_read; | |
2251 | |
2250 ngx_http_internal_redirect(r, &clcf->post_action, NULL); | 2252 ngx_http_internal_redirect(r, &clcf->post_action, NULL); |
2251 | 2253 |
2252 return NGX_OK; | 2254 return NGX_OK; |
2253 } | 2255 } |
2254 | 2256 |