Mercurial > hg > nginx-vendor-current
comparison src/http/ngx_http_core_module.c @ 582:c456a023113c NGINX_0_8_43
nginx 0.8.43
*) Feature: large geo ranges base loading speed-up.
*) Bugfix: an error_page redirection to "location /zero { return 204;
}" without changing status code kept the error body; the bug had
appeared in 0.8.42.
*) Bugfix: nginx might close IPv6 listen socket during
reconfiguration.
Thanks to Maxim Dounin.
*) Bugfix: the $uid_set variable may be used at any request processing
stage.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 30 Jun 2010 00:00:00 +0400 |
parents | 4d3e880ce86c |
children | 016632f0fb18 |
comparison
equal
deleted
inserted
replaced
581:22b2345b75d9 | 582:c456a023113c |
---|---|
1746 ngx_chain_t out; | 1746 ngx_chain_t out; |
1747 | 1747 |
1748 r->headers_out.status = status; | 1748 r->headers_out.status = status; |
1749 | 1749 |
1750 if (status == NGX_HTTP_NO_CONTENT) { | 1750 if (status == NGX_HTTP_NO_CONTENT) { |
1751 r->header_only = 1; | |
1751 return ngx_http_send_header(r); | 1752 return ngx_http_send_header(r); |
1752 } | 1753 } |
1753 | 1754 |
1754 if (ngx_http_complex_value(r, cv, &val) != NGX_OK) { | 1755 if (ngx_http_complex_value(r, cv, &val) != NGX_OK) { |
1755 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 1756 return NGX_HTTP_INTERNAL_SERVER_ERROR; |