]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream-interface: add a snd_buf() callback to sock_ops
authorWilly Tarreau <wtarreau@exceliance.fr>
Mon, 20 Aug 2012 12:02:10 +0000 (14:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Sep 2012 19:54:18 +0000 (21:54 +0200)
commitfae4499e36377e825977cd74d3bd319014e0c7f7
treee232318681fd911636f7ba3dda43b2310a639140
parent46a8d925c2f1317ecebfefff52a646f145aa1285
MEDIUM: stream-interface: add a snd_buf() callback to sock_ops

This callback is used to send data from the buffer to the socket. It is
the old write_loop() call of the data layer which is used both by the
->write() callback and the ->chk_snd() function. The reason for having
it as a pointer is that it's the only remaining part which causes the
write and chk_snd() functions to be different between raw and ssl.
include/proto/connection.h
include/types/stream_interface.h
src/sock_raw.c