From 2cd38ba388ffe45f4101871237f88975b60e0ffe Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Wed, 8 Jul 2026 10:30:04 +0200 Subject: [PATCH] DOC: htx: Fix comment of htx_expect_more() function The comment of htx_expect_more() was inverted from what the function really does. So let's fix it. --- include/haproxy/htx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/htx.h b/include/haproxy/htx.h index 7d10a5b92..6495b5074 100644 --- a/include/haproxy/htx.h +++ b/include/haproxy/htx.h @@ -783,7 +783,7 @@ static inline int htx_is_empty_noerr(const struct htx *htx) return (htx_is_empty(htx) && !(htx->flags & (HTX_FL_PARSING_ERROR|HTX_FL_PROCESSING_ERROR))); } -/* Returns 1 if no more data are expected for the message . Otherwise it +/* Returns 1 if more data are expected for the message . Otherwise it * returns 0. Note that it is illegal to call this with htx == NULL. This * function relies on the HTX_FL_EOM flags. It means tunneled data are not * considered here. -- 2.47.3