]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl-sample: add ssl_fc_early_rcvd() to detect use of early data
authorWilly Tarreau <w@1wt.eu>
Wed, 29 Oct 2025 07:03:01 +0000 (08:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 29 Oct 2025 07:13:29 +0000 (08:13 +0100)
commit18b27bfec948126f628a026c1e02f9e0421c569d
tree72aaf3c8e835c9addd097c218b40724ecad01b9b
parent765d49b680dec9a1374af8ff1bb3e6a9260df532
MINOR: ssl-sample: add ssl_fc_early_rcvd() to detect use of early data

We currently have ssl_fc_has_early() which says that early data are still
unconfirmed by a final handshake, but nothing to see if a client has been
able to use early data at all, which is a problem because such mechanisms
generally depend on multiple factors and it's hard to know when they start
to work. This new sample fetch function will indicate that some early data
were seen over that front connection, i.e. this can be used to confirm
that at some point the client was able to push some. This is essentially
a debugging tool that has no practical use case other than debugging.
doc/configuration.txt
src/ssl_sample.c