diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-21 15:59:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-21 15:59:32 +0000 |
commit | ef06648615d6ce6e000e6c737f80c2ba9fa04d3a (patch) | |
tree | 5f840689ca43ecba7218f9709f1bdfaa27611f53 /src/core | |
parent | 73a73b5a60b1c6c985f3e9a5d7cddbe292ad01a4 (diff) | |
download | nginx-ef06648615d6ce6e000e6c737f80c2ba9fa04d3a.tar.gz nginx-ef06648615d6ce6e000e6c737f80c2ba9fa04d3a.zip |
nginx-0.0.7-2004-06-21-19:59:32 import
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ngx_buf.h | 1 | ||||
-rw-r--r-- | src/core/ngx_output_chain.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h index 301d8f794..1927ed415 100644 --- a/src/core/ngx_buf.h +++ b/src/core/ngx_buf.h @@ -127,6 +127,7 @@ typedef struct { ngx_chain_t **last; ngx_connection_t *connection; ngx_pool_t *pool; + off_t limit; } ngx_chain_writer_ctx_t; diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c index 7ab202cef..aea6219da 100644 --- a/src/core/ngx_output_chain.c +++ b/src/core/ngx_output_chain.c @@ -274,7 +274,7 @@ ngx_int_t ngx_chain_writer(void *data, ngx_chain_t *in) ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->connection->log, 0, "WRITER0: %X", ctx->out); - ctx->out = ngx_write_chain(ctx->connection, ctx->out); + ctx->out = ngx_write_chain(ctx->connection, ctx->out, ctx->limit); ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->connection->log, 0, "WRITER1: %X", ctx->out); |