aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_hunk.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-10-21 16:49:56 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-10-21 16:49:56 +0000
commit419f9aceb4d994c2f7f51400f59fb2da0ed666d4 (patch)
treee32162d1d3833491fc1a95780880099f2ef6857f /src/core/ngx_hunk.c
parent9760a1336f0eb4057b6e2ccdd4b0145087102b17 (diff)
downloadnginx-419f9aceb4d994c2f7f51400f59fb2da0ed666d4.tar.gz
nginx-419f9aceb4d994c2f7f51400f59fb2da0ed666d4.zip
nginx-0.0.1-2003-10-21-20:49:56 import
Diffstat (limited to 'src/core/ngx_hunk.c')
-rw-r--r--src/core/ngx_hunk.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/ngx_hunk.c b/src/core/ngx_hunk.c
index df213c7b3..6bed8c566 100644
--- a/src/core/ngx_hunk.c
+++ b/src/core/ngx_hunk.c
@@ -147,18 +147,6 @@ void ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy,
if (ngx_hunk_size((*busy)->hunk) > 0) {
break;
}
-#if 0
- if ((*busy)->hunk->type & NGX_HUNK_IN_MEMORY) {
- if ((*busy)->hunk->pos != (*busy)->hunk->last) {
- break;
- }
-
- } else {
- if ((*busy)->hunk->file_pos != (*busy)->hunk->file_last) {
- break;
- }
- }
-#endif
#if (HAVE_WRITE_ZEROCOPY)
if ((*busy)->hunk->type & NGX_HUNK_ZEROCOPY_BUSY) {