commit | 5e1cc5ea83f53b680feb15a4bcc62d3b7d22c43f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 02 10:43:58 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 20 19:21:43 2018 +0200 |
tree | 1d421067de2bd9876ba51049ab998306fed02be0 | |
parent | a3f7efe009f90dd67b05d2c9ba7c08d608f5552e [diff] |
MINOR: conn_stream: add an rx buffer to the conn_stream In order to reorganize the connection layers, recv() operations will need to be retryable and to support partial transfers. This requires an intermediary buffer to hold the data coming from the mux. After a few attempts, it turns out that this buffer is best placed inside the conn_stream itself. For now it's only set to buf_empty and it will be up to the caller to allocate it if required.