In the HTTP stats applet, when a POST is received, instead of testing the
HTX_FL_HAS_EOM flag on the message itself, we are now relying on the tail
bloc to know if the end of the request was received or not, by testing its
flags.
struct htx_blk *blk;
/* we need more data */
- if (!(htx->flags & HTX_FL_HAS_EOM)) {
+ blk = ASSUME_NONNULL(htx_get_tail_blk(htx));
+ if (!(blk->flags & HTX_BLK_FL_EOM)) {
/* check if we can receive more */
if (applet_fl_test(appctx, APPCTX_FL_INBLK_FULL)) {
ctx->st_code = STAT_STATUS_EXCD;