diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ngx_buf.c | 6 | ||||
-rw-r--r-- | src/core/ngx_buf.h | 2 | ||||
-rw-r--r-- | src/core/ngx_palloc.h | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/core/ngx_buf.c b/src/core/ngx_buf.c index 31d990315..2f2c43721 100644 --- a/src/core/ngx_buf.c +++ b/src/core/ngx_buf.c @@ -201,12 +201,6 @@ ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy, break; } -#if (NGX_HAVE_WRITE_ZEROCOPY) - if ((*busy)->buf->zerocopy_busy) { - break; - } -#endif - if ((*busy)->buf->tag != tag) { *busy = (*busy)->next; continue; diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h index ce26c630e..8649bdb9e 100644 --- a/src/core/ngx_buf.h +++ b/src/core/ngx_buf.h @@ -51,8 +51,6 @@ struct ngx_buf_s { unsigned last_shadow:1; unsigned temp_file:1; - unsigned zerocopy_busy:1; - /* STUB */ int num; }; diff --git a/src/core/ngx_palloc.h b/src/core/ngx_palloc.h index 434f9728b..c31db932c 100644 --- a/src/core/ngx_palloc.h +++ b/src/core/ngx_palloc.h @@ -14,7 +14,6 @@ /* * NGX_MAX_ALLOC_FROM_POOL should be (ngx_pagesize - 1), i.e. 4095 on x86. - * On FreeBSD 5.x it allows to use the zero copy sending. * On Windows NT it decreases a number of locked pages in a kernel. */ #define NGX_MAX_ALLOC_FROM_POOL (ngx_pagesize - 1) |