aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_hunk.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-09-28 19:29:06 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-09-28 19:29:06 +0000
commit2cdd7e9e5bd7c0ddcc5dbf57aa3ffb998fd3335f (patch)
tree6a2b3c17c58af5159ff80a1bcef94f7c93632967 /src/core/ngx_hunk.c
parent02f0132392913bd632d2616a0c0ab5391c2cfc6d (diff)
downloadnginx-2cdd7e9e5bd7c0ddcc5dbf57aa3ffb998fd3335f.tar.gz
nginx-2cdd7e9e5bd7c0ddcc5dbf57aa3ffb998fd3335f.zip
nginx-0.0.1-2003-09-28-23:29:06 import
Diffstat (limited to 'src/core/ngx_hunk.c')
-rw-r--r--src/core/ngx_hunk.c4
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;