mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-04 19:19:33 +00:00
a456920491
Complete the qc_stream_desc type to support multiple buffers on emission. The main objective is to increase the transfer throughput. The MUX is now able to transfer more data without having to wait ACKs. To implement this feature, a new type qc_stream_buf is declared. it encapsulates a buffer with a list element. New functions are defined to retrieve the current buffer, release it or allocate a new one. Each buffer is kept in the qc_stream_desc list until all of its data is acknowledged. On the MUX side, a qcs uses the current stream buffer to transfer data. Once the buffer is full, it is released and a new one will be allocated on a future qc_send() invocation. |
||
---|---|---|
.. | ||
haproxy | ||
import |