Mercurial > hg > nginx
diff src/http/ngx_http_request.c @ 1783:cfb879757a43
call post_action for 499
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Dec 2007 13:13:34 +0000 |
parents | 06014cfdb5b1 |
children | a35032212cf2 |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Thu Dec 27 12:13:11 2007 +0000 +++ b/src/http/ngx_http_request.c Thu Dec 27 13:13:34 2007 +0000 @@ -1595,7 +1595,11 @@ rc = r->post_subrequest->handler(r, r->post_subrequest->data, rc); } - if (rc == NGX_ERROR || rc == NGX_HTTP_REQUEST_TIME_OUT || c->error) { + if (rc == NGX_ERROR + || rc == NGX_HTTP_REQUEST_TIME_OUT + || rc == NGX_HTTP_CLIENT_CLOSED_REQUEST + || c->error) + { if (rc > 0 && r->headers_out.status == 0) { r->headers_out.status = rc; }