mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-11 01:33:02 +02:00
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.
This commit is contained in:
committed by
Willy Tarreau
parent
de5722c302
commit
eecf6ca68a
@@ -41,6 +41,7 @@ int stream_int_shutr(struct stream_interface *si);
|
||||
int stream_int_shutw(struct stream_interface *si);
|
||||
void stream_int_chk_rcv_conn(struct stream_interface *si);
|
||||
void stream_int_chk_snd_conn(struct stream_interface *si);
|
||||
void si_conn_send_cb(struct connection *conn);
|
||||
|
||||
extern struct sock_ops stream_int_embedded;
|
||||
extern struct sock_ops stream_int_task;
|
||||
|
||||
Reference in New Issue
Block a user