commit | 063f786553d97f53aefba3651d7d7ce22dde4952 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed May 23 15:03:43 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Aug 08 09:53:58 2018 +0200 |
tree | d4c661b1dfc2c75a464ce78f90ee97d6424e4533 | |
parent | 3c51802fb9a10f18b0823562432de641d0571b1a [diff] |
MINOR: conn_stream: add cs_send() as a default snd_buf() function This function is generic and is able to automatically transfer data from a buffer to the conn_stream's tx buffer. It does this automatically if the mux doesn't define another snd_buf() function. It cannot yet be used as-is with the conn_stream's txbuf without risking to lose data on close since conn_streams need to be orphaned for this.