haproxy/include
Willy Tarreau 328582c3f9 MEDIUM: buffers: implement b_adv() to advance a buffer's pointer
This is more convenient and efficient than buf->p = b_ptr(buf, n);
It simply advances the buffer's pointer by <n> and trasfers that
amount of bytes from <in> to <out>. The BF_OUT_EMPTY flag is updated
accordingly.

A few occurrences of such computations in buffers.c and stream_sock.c
were updated to use b_adv(), which resulted in a small code shrink.
2012-05-08 12:28:14 +02:00
..
common MINOR: standard: add a memprintf() function to build formatted error messages 2012-04-30 11:55:35 +02:00
import [MAJOR] replace ultree with ebtree in wait-queues 2008-06-24 08:17:16 +02:00
proto MEDIUM: buffers: implement b_adv() to advance a buffer's pointer 2012-05-08 12:28:14 +02:00
types MAJOR: http: make http_msg->sol relative to buffer's origin 2012-05-08 12:28:12 +02:00