Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.c @ 1848:0e4c85e25ed5 stable-0.5
r1709 merge:
large_client_header_buffers did not free()ed before keep-alive
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 08 Jan 2008 17:22:10 +0000 |
parents | 1f802d26204f |
children | 3db8a8263055 |
comparison
equal
deleted
inserted
replaced
1847:fc0c2b4293e2 | 1848:0e4c85e25ed5 |
---|---|
2083 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, "hc free: %p %d", | 2083 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, "hc free: %p %d", |
2084 hc->free, hc->nfree); | 2084 hc->free, hc->nfree); |
2085 | 2085 |
2086 if (hc->free) { | 2086 if (hc->free) { |
2087 for (i = 0; i < hc->nfree; i++) { | 2087 for (i = 0; i < hc->nfree; i++) { |
2088 ngx_pfree(c->pool, hc->free[i]); | 2088 ngx_pfree(c->pool, hc->free[i]->start); |
2089 hc->free[i] = NULL; | 2089 hc->free[i] = NULL; |
2090 } | 2090 } |
2091 | 2091 |
2092 hc->nfree = 0; | 2092 hc->nfree = 0; |
2093 } | 2093 } |
2095 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, "hc busy: %p %d", | 2095 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, "hc busy: %p %d", |
2096 hc->busy, hc->nbusy); | 2096 hc->busy, hc->nbusy); |
2097 | 2097 |
2098 if (hc->busy) { | 2098 if (hc->busy) { |
2099 for (i = 0; i < hc->nbusy; i++) { | 2099 for (i = 0; i < hc->nbusy; i++) { |
2100 ngx_pfree(c->pool, hc->busy[i]); | 2100 ngx_pfree(c->pool, hc->busy[i]->start); |
2101 hc->busy[i] = NULL; | 2101 hc->busy[i] = NULL; |
2102 } | 2102 } |
2103 | 2103 |
2104 hc->nbusy = 0; | 2104 hc->nbusy = 0; |
2105 } | 2105 } |