Mercurial > hg > nginx-mail
comparison src/http/ngx_http_request.c @ 575:f7ec98e3caeb NGINX_0_8_18
nginx 0.8.18
*) Feature: the "read_ahead" directive.
*) Feature: now several "perl_modules" directive may be used.
*) Feature: the "limit_req_log_level" and "limit_conn_log_level"
directives.
*) Bugfix: now "limit_req" directive conforms to the leaky bucket
algorithm.
Thanks to Maxim Dounin.
*) Bugfix: nginx did not work on Linux/sparc.
Thanks to Marcus Ramberg.
*) Bugfix: nginx sent '\0' in a "Location" response header line on
MKCOL request.
Thanks to Xie Zhenye.
*) Bugfix: zero status code was logged instead of 499 status code; the
bug had appeared in 0.8.11.
*) Bugfix: socket leak; the bug had appeared in 0.8.11.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 06 Oct 2009 00:00:00 +0400 |
parents | 4c5d2c627a6c |
children | 1dcf6adad484 |
comparison
equal
deleted
inserted
replaced
574:7688992d2abb | 575:f7ec98e3caeb |
---|---|
2046 mr = r->main; | 2046 mr = r->main; |
2047 | 2047 |
2048 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 2048 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
2049 "http terminate request count:%d", mr->count); | 2049 "http terminate request count:%d", mr->count); |
2050 | 2050 |
2051 if (rc > 0 && (mr->headers_out.status == 0 || mr->connection->sent == 0)) { | |
2052 mr->headers_out.status = rc; | |
2053 } | |
2054 | |
2051 cln = mr->cleanup; | 2055 cln = mr->cleanup; |
2052 mr->cleanup = NULL; | 2056 mr->cleanup = NULL; |
2053 | 2057 |
2054 while (cln) { | 2058 while (cln) { |
2055 if (cln->handler) { | 2059 if (cln->handler) { |
2404 | 2408 |
2405 hc->busy[0] = b; | 2409 hc->busy[0] = b; |
2406 hc->nbusy = 1; | 2410 hc->nbusy = 1; |
2407 } | 2411 } |
2408 } | 2412 } |
2413 | |
2414 r->keepalive = 0; | |
2409 | 2415 |
2410 ngx_http_free_request(r, 0); | 2416 ngx_http_free_request(r, 0); |
2411 | 2417 |
2412 c->data = hc; | 2418 c->data = hc; |
2413 | 2419 |