Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 3176:60bc5cc68d3b
log 499 instead 0, the bug was introduced in r3050
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 30 Sep 2009 12:05:08 +0000 |
parents | 90d6b878481f |
children | 0e420f3f8e18 |
comparison
equal
deleted
inserted
replaced
3175:cad19e8e0cc8 | 3176:60bc5cc68d3b |
---|---|
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) { |