diff --git a/src/applet.c b/src/applet.c index d93720ec9..6e5188404 100644 --- a/src/applet.c +++ b/src/applet.c @@ -611,7 +611,7 @@ size_t appctx_htx_snd_buf(struct appctx *appctx, struct buffer *buf, size_t coun appctx_htx->flags |= (buf_htx->flags & HTX_FL_EOM); } - htx_to_buf(appctx_htx, &appctx->outbuf); + htx_to_buf(appctx_htx, &appctx->inbuf); htx_to_buf(buf_htx, buf); ret -= buf_htx->data; end: