]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: early data: Never remove the CO_FL_EARLY_DATA flag.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 29 Nov 2017 18:51:19 +0000 (19:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 5 Feb 2018 13:24:50 +0000 (14:24 +0100)
commit25ae45a078f1b2efca7931d6cf6392aa5a0a9775
tree0f6771db3b2468cd43fbf14a4b32af65eb1db24d
parent6fa63d98527fc2c9f4637c5b82c138a4725d80a9
MINOR: early data: Never remove the CO_FL_EARLY_DATA flag.

It may be useful to keep the CO_FL_EARLY_DATA flag, so that we know early
data were used, so instead of doing this, only add the Early-data header,
and have the sample fetch ssl_fc_has_early return 1, if CO_FL_EARLY_DATA is
set, and if the handshake isn't done yet.
src/proto_http.c
src/ssl_sock.c