Mercurial > hg > nginx
diff src/http/ngx_http_special_response.c @ 294:5cfd65b8b0a7
nginx-0.0.3-2004-03-23-09:01:52 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 23 Mar 2004 06:01:52 +0000 |
parents | ec3c049681fd |
children | ba876b26b76d |
line wrap: on
line diff
--- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -185,8 +185,8 @@ int ngx_http_special_response_handler(ng rc = ngx_http_discard_body(r); - if (rc != NGX_OK) { - return rc; + if (rc == NGX_HTTP_INTERNAL_SERVER_ERROR) { + error = NGX_HTTP_INTERNAL_SERVER_ERROR; } r->headers_out.status = error;