From: Christopher Faulet Date: Wed, 8 Jul 2026 14:22:58 +0000 (+0200) Subject: MINOR: httpclient: Don't manually set HTX_FL_EOM flag after calling htx_xfer() X-Git-Tag: v3.5-dev7~77 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=67bbf682a093af24d8fcae958894c0140b811fc0;p=haproxy.git MINOR: httpclient: Don't manually set HTX_FL_EOM flag after calling htx_xfer() 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. --- diff --git a/src/http_client.c b/src/http_client.c index 5e0b1ce97..96d55ee80 100644 --- a/src/http_client.c +++ b/src/http_client.c @@ -735,9 +735,6 @@ void httpclient_applet_io_handler(struct appctx *appctx) 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 { @@ -825,9 +822,6 @@ void httpclient_applet_io_handler(struct appctx *appctx) 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 {