haproxy/include
Willy Tarreau b22e55bc8f [MEDIUM] stream_sock: add support for sending the proxy protocol header line
Upon connection establishment, stream_sock is now able to send a PROXY
line before sending any data. Since it's possible that the buffer is
already full, and we don't want to allocate a block for that line, we
compute it on-the-fly when we need it. We just store the offset from
which to (re-)send from the end of the line, since it's assumed that
multiple outputs of the same proxy line will be strictly equivalent. In
practice, one call is enough. We just make sure to handle the case where
the first send() would indicate an incomplete output, eventhough it's
very unlikely to ever happen.
2011-03-20 10:16:46 +01:00
..
common [REORG] http: move the http-request rules to proto_http 2011-03-13 22:00:24 +01:00
import [MAJOR] replace ultree with ebtree in wait-queues 2008-06-24 08:17:16 +02:00
proto [MINOR] frontend: add a make_proxy_line function 2011-03-20 10:15:22 +01:00
types [MEDIUM] stream_sock: add support for sending the proxy protocol header line 2011-03-20 10:16:46 +01:00