diff src/core/ngx_hunk.c @ 153:c71aeb75c071

nginx-0.0.1-2003-10-21-20:49:56 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Oct 2003 16:49:56 +0000
parents 2d9e4a8b6d11
children eac26585476e
line wrap: on
line diff
--- a/src/core/ngx_hunk.c
+++ b/src/core/ngx_hunk.c
@@ -147,18 +147,6 @@ void ngx_chain_update_chains(ngx_chain_t
         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) {