commit | fae4499e36377e825977cd74d3bd319014e0c7f7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <wtarreau@exceliance.fr> | Mon Aug 20 14:02:10 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Sep 02 21:54:18 2012 +0200 |
tree | e232318681fd911636f7ba3dda43b2310a639140 | |
parent | 46a8d925c2f1317ecebfefff52a646f145aa1285 [diff] |
MEDIUM: stream-interface: add a snd_buf() callback to sock_ops This callback is used to send data from the buffer to the socket. It is the old write_loop() call of the data layer which is used both by the ->write() callback and the ->chk_snd() function. The reason for having it as a pointer is that it's the only remaining part which causes the write and chk_snd() functions to be different between raw and ssl.