diff options
Diffstat (limited to 'src/core/ngx_hunk.c')
-rw-r--r-- | src/core/ngx_hunk.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |