haproxy/include
Willy Tarreau 3906e22f6f MINOR: htx: add buf_room_for_htx_data() to help optimize buffer transfers
The small HTX overhead is enough to make the system perform multiple
reads and unaligned memory copies. Here we provide a function whose
purpose is to reduce the apparent room in a buffer by the size of the
overhead for DATA blocks, which is the struct htx plus 2 blocks (one
for DATA, one for the end of message so that small blocks can fit at
once). The muxes using HTX will be encouraged to use this one instead
of b_room() to compute the available buffer room and avoid filling
their demux buf with more data than can fit at once into the HTX
buffer.
2018-12-05 10:57:42 +01:00
..
common CLEANUP: Fix a typo in the mini-clist header 2018-12-02 18:38:15 +01:00
import
proto MINOR: htx: add buf_room_for_htx_data() to help optimize buffer transfers 2018-12-05 10:57:42 +01:00
types CLEANUP: Fix a typo in the listener subsystem 2018-12-02 18:43:28 +01:00