]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: Remove QUIC TX packet length evaluation function
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 7 Dec 2021 14:27:44 +0000 (15:27 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Dec 2021 14:53:56 +0000 (15:53 +0100)
commit73dcc6ee6285ed1b073e8cabf3998cb327319c28
tree4815049c16ddc1f0f5436b21506cb8d9eecee45a
parentfee7ba673f3f77a37aed0a14a976adbbeeafd591
MINOR: quic: Remove QUIC TX packet length evaluation function

Remove qc_eval_pkt() which has come with the multithreading support. It
was there to evaluate the length of a TX packet before building. We could
build from several thread TX packets without consuming a packet number for nothing (when
the building failed). But as the TX packet building functions are always
executed by the same thread, the one attached to the connection, this does
not make sense to continue to use such a function. Furthermore it is buggy
since we had to recently pad the TX packet under certain circumstances.
include/haproxy/xprt_quic.h
src/xprt_quic.c