aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_output_chain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_output_chain.c')
-rw-r--r--src/core/ngx_output_chain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c
index 03d956d5d..f2dab9c3b 100644
--- a/src/core/ngx_output_chain.c
+++ b/src/core/ngx_output_chain.c
@@ -473,7 +473,8 @@ ngx_chain_writer(void *data, ngx_chain_t *in)
return NGX_OK;
}
- ctx->out = ngx_send_chain(ctx->connection, ctx->out, ctx->limit);
+ ctx->out = ctx->connection->send_chain(ctx->connection, ctx->out,
+ ctx->limit);
ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->connection->log, 0,
"chain writer out: %p", ctx->out);