diff --git a/addons/promex/service-prometheus.c b/addons/promex/service-prometheus.c index e4cc469ee..bc88a7b09 100644 --- a/addons/promex/service-prometheus.c +++ b/addons/promex/service-prometheus.c @@ -1591,7 +1591,6 @@ static void promex_appctx_handle_io(struct appctx *appctx) channel_add_input(res, 1); } res_htx->flags |= HTX_FL_EOM; - res->flags |= CF_EOI; se_fl_set(appctx->sedesc, SE_FL_EOI); appctx->st0 = PROMEX_ST_END; __fallthrough; diff --git a/src/cache.c b/src/cache.c index ae57ce544..36ecf185a 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1526,7 +1526,6 @@ static void http_cache_io_handler(struct appctx *appctx) if (appctx->st0 == HTX_CACHE_EOM) { /* no more data are expected. */ res_htx->flags |= HTX_FL_EOM; - res->flags |= CF_EOI; se_fl_set(appctx->sedesc, SE_FL_EOI); appctx->st0 = HTX_CACHE_END; } diff --git a/src/hlua.c b/src/hlua.c index cc8624c50..8cafff8b9 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -9713,7 +9713,6 @@ void hlua_applet_http_fct(struct appctx *ctx) } res_htx->flags |= HTX_FL_EOM; - res->flags |= CF_EOI; se_fl_set(ctx->sedesc, SE_FL_EOI); strm->txn->status = http_ctx->status; http_ctx->flags |= APPLET_RSP_SENT; diff --git a/src/http_client.c b/src/http_client.c index c146bd27e..40d5ab6c8 100644 --- a/src/http_client.c +++ b/src/http_client.c @@ -787,7 +787,6 @@ static void httpclient_applet_io_handler(struct appctx *appctx) /* if the request contains the HTX_FL_EOM, we finished the request part. */ if (htx->flags & HTX_FL_EOM) { - req->flags |= CF_EOI; se_fl_set(appctx->sedesc, SE_FL_EOI); appctx->st0 = HTTPCLIENT_S_RES_STLINE; } diff --git a/src/stats.c b/src/stats.c index 3e1b90b1f..2bc471c6e 100644 --- a/src/stats.c +++ b/src/stats.c @@ -4500,7 +4500,6 @@ static void http_stats_io_handler(struct appctx *appctx) channel_add_input(res, 1); } res_htx->flags |= HTX_FL_EOM; - res->flags |= CF_EOI; se_fl_set(appctx->sedesc, SE_FL_EOI); appctx->st0 = STAT_HTTP_END; }