]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: quic: remove duplicated varint code from xprt_quic.h
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 30 Sep 2022 15:47:04 +0000 (17:47 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 3 Oct 2022 14:25:17 +0000 (16:25 +0200)
commita2639383ece04c2fee3bbdda54dab66a640f6aa1
tree2bef395823cfdc6aceb477d39bb7e0120dee4006
parentac9bf016bfcb5608b4d29d029f20a45709ac0a2d
CLEANUP: quic: remove duplicated varint code from xprt_quic.h

There was some identical code between xprt_quic and quic_enc modules.
This concerns helper on QUIC varint type. Keep only the version in
quic_enc file : this should help to reduce dependency on xprt_quic
module.

Note that quic_max_int_by_size() has been removed and is replaced by the
identical quic_max_int().

This should be backported up to 2.6.
include/haproxy/quic_enc.h
include/haproxy/xprt_quic.h