DOC: htx: make it clear that htxbuf() and htx_from_buf() always return valid pointers
authorWilly Tarreau <w@1wt.eu>
Thu, 31 Jan 2019 06:21:42 +0000 (07:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Jan 2019 07:07:17 +0000 (08:07 +0100)
commit245d189cce724967d4709ab41365d909870be829
treec343f87c50eb6914a4feca04ca97dc149507506a
parent203d735cac55a46326c10ee36bad241cab38ee73
DOC: htx: make it clear that htxbuf() and htx_from_buf() always return valid pointers

Update the comments above htxbuf() and htx_from_buf() to make it clear
that they always return valid htx pointers so that callers know they do
not have to test them. This is only true after the fix on b_is_null()
which was the only known corner case.

This should be backported to 1.9 if the b_is_null() patch is backported.
include/common/htx.h