]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: stream-interface: move sock_raw_read() to si_conn_recv_cb()
authorWilly Tarreau <wtarreau@exceliance.fr>
Mon, 20 Aug 2012 19:41:06 +0000 (21:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Sep 2012 18:47:30 +0000 (20:47 +0200)
commitce323dea14b46fa01f8950a9d6a1e803ef803d0b
treee5f85641d7821e88440b7f0c42fed475b689869e
parent1fe6bc335a4e0251d7e00edcc7149d3027044258
REORG: stream-interface: move sock_raw_read() to si_conn_recv_cb()

The recv function is now generic and is usable to iterate any connection-to-buf
reading function from a stream interface. So let's move it to stream-interface.
include/proto/stream_interface.h
src/raw_sock.c
src/stream_interface.c