MINOR: applet: No longer set EOI on the SC
Thanks to the previous patch, it is now possible for applets to not set the
CF_EOI flag on the channels. On this point, the applets get closer to the
muxes.
diff --git a/addons/promex/service-prometheus.c b/addons/promex/service-prometheus.c
index e4cc469..bc88a7b 100644
--- a/addons/promex/service-prometheus.c
+++ b/addons/promex/service-prometheus.c
@@ -1591,7 +1591,6 @@
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 ae57ce5..36ecf18 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -1526,7 +1526,6 @@
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 cc8624c..8cafff8 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -9713,7 +9713,6 @@
}
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 c146bd2..40d5ab6 100644
--- a/src/http_client.c
+++ b/src/http_client.c
@@ -787,7 +787,6 @@
/* 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 3e1b90b..2bc471c 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -4500,7 +4500,6 @@
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;
}