]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream-interface: provide a generic si_conn_send_cb callback
authorWilly Tarreau <wtarreau@exceliance.fr>
Mon, 20 Aug 2012 13:09:53 +0000 (15:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Sep 2012 19:54:55 +0000 (21:54 +0200)
commiteecf6ca68a6749d2f58bfa069dfd3887b24d8862
tree280bc0ae1c085d011d0cabaab62a31359db58f4d
parentde5722c30269ddbfedc583763f7b991eeef7808b
MEDIUM: stream-interface: provide a generic si_conn_send_cb callback

The connection send() callback is supposed to be generic for a
stream-interface, and consists in calling the lower layer snd_buf
function. Move this function to the stream interface and remove
the sock-raw and sock-ssl clones.
include/proto/stream_interface.h
src/sock_raw.c
src/stream_interface.c