]> git.kaiwu.me - haproxy.git/commit
MINOR: htx: Add functions to get the first block of an HTX message
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 May 2019 09:36:27 +0000 (11:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 May 2019 05:42:12 +0000 (07:42 +0200)
commita3ad6b1b8f25c0b02088c535220b538fae26a8c1
treecdbf5a11d8658b0c35bf2bbdfbcaf09a67e6783b
parent9c66b980fa3fc73f9b9f55064bd66dd4ebb04a51
MINOR: htx: Add functions to get the first block of an HTX message

It is the first block relatively to the start-line. So it is the start-line if
its position is set (sl_pos != -1), otherwise it is the head. The functions
htx_get_first() and htx_get_first_blk() can be used to get it.  This change is
mandatory to consider 1xx informational messages as part of a response.
include/common/htx.h