]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: Handle non-application data record while splicing
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 22 Jul 2026 16:43:24 +0000 (18:43 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 23 Jul 2026 22:31:34 +0000 (00:31 +0200)
commitda4e71d6d647d6f60d24fbdaba489c04fd275844
treec69d453324aa8ca53316070af334ff65c439e9c7
parent565247ec5575eec188667d2365011eac723d8084
BUG/MEDIUM: ssl: Handle non-application data record while splicing

When using splicing with kTLS, if we receive a record that is not an
application data record, such as a KeyUpdate, then splicing will fail.
If that happens, temporarily disable splicing and go the regular way so that
recvmsg() is used, we get the record, and we can resume splicing.
Please not that KeyUpdate is still not handled with AWS-LC. Only recent
Linux kernels support it, and the code hasn't been written for that yet.

This should be backported up to 3.3.

This should help with github issue #3450.
include/haproxy/ssl_sock-t.h
src/ssl_sock.c