}
htx_xfer(buf_htx, appctx_htx, count, HTX_XFER_DEFAULT);
- buf_htx->flags |= (appctx_htx->flags & (HTX_FL_PARSING_ERROR|HTX_FL_PROCESSING_ERROR));
- if (htx_is_empty(appctx_htx)) {
- buf_htx->flags |= (appctx_htx->flags & HTX_FL_EOM);
- }
htx_to_buf(buf_htx, buf);
htx_to_buf(appctx_htx, &appctx->outbuf);
ret -= appctx_htx->data;
}
htx_xfer(appctx_htx, buf_htx, count, HTX_XFER_NO_METADATA);
- if (htx_is_empty(buf_htx)) {
- appctx_htx->flags |= (buf_htx->flags & HTX_FL_EOM);
- }
-
htx_to_buf(appctx_htx, &appctx->inbuf);
htx_to_buf(buf_htx, buf);
ret -= buf_htx->data;
applet_have_more_data(appctx);
goto out;
}
-
- /* we must copy the EOM if we empty the buffer */
- if (htx_is_empty(hc_htx)) {
- htx->flags |= (hc_htx->flags & HTX_FL_EOM);
- }
htx_to_buf(htx, outbuf);
htx_to_buf(hc_htx, &hc->req.buf);
}