The htx_xfer() function already takes care to copy HTX_FL_EOM flag when it
is required. So there is no reason to still do it in the HTTP client I/O
handler function.
else
applet_fl_clr(appctx, APPCTX_FL_INBLK_FULL);
- if (htx->flags & HTX_FL_EOM)
- hc_htx->flags |= HTX_FL_EOM;
-
htx_to_buf(hc_htx, &hc->res.buf);
} else {
else
applet_fl_clr(appctx, APPCTX_FL_INBLK_FULL);
- if (htx_is_empty(htx) && (htx->flags & HTX_FL_EOM))
- hc_htx->flags |= HTX_FL_EOM;
-
htx_to_buf(hc_htx, &hc->res.buf);
} else {