diff --git a/src/http_client.c b/src/http_client.c index 9e5b2e831..3ea86c21e 100644 --- a/src/http_client.c +++ b/src/http_client.c @@ -578,7 +578,6 @@ static void httpclient_applet_io_handler(struct appctx *appctx) * set, leave (no body) */ if (htx_is_empty(htx) && htx->flags & HTX_FL_EOM) { appctx->st0 = HTTPCLIENT_S_RES_END; - hc->flags |= HTTPCLIENT_F_ENDED; } else { appctx->st0 = HTTPCLIENT_S_RES_BODY; }