From 2cdd7e9e5bd7c0ddcc5dbf57aa3ffb998fd3335f Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 28 Sep 2003 19:29:06 +0000 Subject: nginx-0.0.1-2003-09-28-23:29:06 import --- src/core/ngx_hunk.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/ngx_hunk.c') diff --git a/src/core/ngx_hunk.c b/src/core/ngx_hunk.c index 1441b7c08..992db16a0 100644 --- a/src/core/ngx_hunk.c +++ b/src/core/ngx_hunk.c @@ -152,6 +152,10 @@ void ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy, break; } #endif + if (((*busy)->hunk->type & NGX_HUNK_TEMP) == 0) { + *busy = (*busy)->next; + continue; + } (*busy)->hunk->pos = (*busy)->hunk->last = (*busy)->hunk->start; -- cgit