]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: connection: split the send call into connection and stream interface
authorWilly Tarreau <wtarreau@exceliance.fr>
Tue, 21 Aug 2012 16:22:06 +0000 (18:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Sep 2012 18:47:31 +0000 (20:47 +0200)
commit5368d80ede227406d7346b324fc6ef5fcfa134b8
tree7766daf7ea5701bff0093f98a363a0b3e4d14447
parentce323dea14b46fa01f8950a9d6a1e803ef803d0b
MAJOR: connection: split the send call into connection and stream interface

Similar to what was done on the receive path, the data layer now provides
only an snd_buf() callback that is iterated over by the stream interface's
si_conn_send_loop() function.

The data layer now has no knowledge about channels nor stream interfaces.

The splice() code still need to be ported as it currently is disabled.
include/proto/connection.h
include/types/stream_interface.h
src/raw_sock.c
src/stream_interface.c