]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream-interface: provide a generic stream_sock_read0() function
authorWilly Tarreau <wtarreau@exceliance.fr>
Mon, 20 Aug 2012 13:38:41 +0000 (15:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Sep 2012 19:54:55 +0000 (21:54 +0200)
commit9bf9c14c12ea3f5f0cfd407d043d248d01167dd0
tree1b99e1cca8a70cbac1edf191b3c70d0b7724780e
parenteecf6ca68a6749d2f58bfa069dfd3887b24d8862
MEDIUM: stream-interface: provide a generic stream_sock_read0() function

This function is used by the data layer when a zero has been read over a
connection. At the moment it only handles sockets and nothing else. Once
the complete split is done between buffers and stream interfaces, it should
become possible to work regardless on the connection type.
include/proto/stream_interface.h
src/sock_raw.c
src/stream_interface.c