commit | a3ad6b1b8f25c0b02088c535220b538fae26a8c1 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon May 13 11:36:27 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 28 07:42:12 2019 +0200 |
tree | cdbf5a11d8658b0c35bf2bbdfbcaf09a67e6783b | |
parent | 9c66b980fa3fc73f9b9f55064bd66dd4ebb04a51 [diff] |
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.