haproxy/include
Christopher Faulet a36b311b9f BUG/MINOR: buffers: Fix bi/bo_contig_space to handle full buffers
These functions was added in commit 637f8f2c ("BUG/MEDIUM: buffers: Fix how
input/output data are injected into buffers").

This patch fixes hidden bugs. When a buffer is full (buf->i + buf->o ==
buf->size), instead of returning 0, these functions can return buf->size. Today,
this never happens because callers already check if the buffer is full before
calling bi/bo_contig_space. But to avoid possible bugs if calling conditions
changed, we slightly refactored these functions.
2017-06-14 16:20:20 +02:00
..
common BUG/MINOR: buffers: Fix bi/bo_contig_space to handle full buffers 2017-06-14 16:20:20 +02:00
import CLEANUP: da: move global settings out of the global section 2016-12-21 21:30:54 +01:00
proto CLEANUP: connection: remove unused CO_FL_WAIT_DATA 2017-06-02 15:50:27 +02:00
types MINOR: ssl: support ssl-min-ver and ssl-max-ver with crt-list 2017-06-02 16:42:09 +02:00