]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: always use ncbuf for rx CRYPTO
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Mar 2024 15:47:36 +0000 (16:47 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Mar 2024 16:22:48 +0000 (17:22 +0100)
commit1ee7bf5bd9a8ed0ab5e456e31a4548a6f92136a1
tree5f3fad5b014f13139c9f11f9b02ea27599e9a6b9
parent81f118cec0e7356ec12255d6d8b2339630db031c
MINOR: quic: always use ncbuf for rx CRYPTO

The previous patch fix the handling of in-order CRYPTO frames which
requires the usage of a new buffer for these data as their handling is
delayed to run under TASK_HEAVY.

In fact, as now all CRYPTO frames handling must be delayed, their
handling can be unify. This is the purpose of this commit, which removes
the just introduced new buffer. Now, all CRYPTO frames are buffered
inside the ncbuf. Unused elements such as crypto_frms member for
encryption level are also removed.

This commit is not a bugcfix but is a direct follow-up to the last one.
As such, it can probably be backported with it to 2.9 to reduce code
differences between these versions.
include/haproxy/quic_tls-t.h
src/quic_rx.c
src/quic_ssl.c
src/quic_tls.c