forked from haproxy/haproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MINOR: mux-quic: realign Tx buffer if possible
A major reorganization of QUIC MUX sending has been implemented. Now data transfer occur over a single QCS buffer. This has improve performance but at the cost of restrictions on snd_buf. Indeed, buffer instances are now shared from stream callback snd_buf up to quic-conn layer. As such, snd_buf cannot manipulate freely already present data buffer. In particular, realign has been completely removed by the previous patches. This commit reintroduces a partial realign support. This is only done if the buffer contains only unsent data, via a new MUX function qcc_realign_stream_txbuf() which is called during snd_buf.
- Loading branch information
1 parent
4513787
commit 4b5f557
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters