From: Christopher Faulet Date: Wed, 8 Jul 2026 08:30:04 +0000 (+0200) Subject: DOC: htx: Fix comment of htx_expect_more() function X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=0a55a84da2553a2c4b30759c096812de16ab9654;p=haproxy.git 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. --- diff --git a/include/haproxy/htx.h b/include/haproxy/htx.h index ce4511225..c9bf073f3 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.