MINOR: buffer: add buffer_space_wraps()
authorWilly Tarreau <w@1wt.eu>
Mon, 16 Oct 2017 12:01:18 +0000 (14:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Oct 2017 13:01:08 +0000 (15:01 +0200)
commit5b9834f12a72f6c2ee7be8cc3da13e83ae3d92b9
tree296702e8bc3d92f750997c01c097774aaec17443
parente5676e71034a26e338552702e7100b99806b1538
MINOR: buffer: add buffer_space_wraps()

This function returns true if the available buffer space wraps. This
will be used to detect if it's worth realigning a buffer when it lacks
contigous space.
include/common/buffer.h