]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: early data: Don't rely on CO_FL_EARLY_DATA to wake up streams.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 27 Nov 2017 17:41:32 +0000 (18:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 5 Feb 2018 13:24:50 +0000 (14:24 +0100)
commit6fa63d98527fc2c9f4637c5b82c138a4725d80a9
treecd825a773654f35dbbb1171baa83730d860f8f43
parent5fa300da8990d5ba4c5902df2496edb7aec7ab59
MINOR: early data: Don't rely on CO_FL_EARLY_DATA to wake up streams.

Instead of looking for CO_FL_EARLY_DATA to know if we have to try to wake
up a stream, because it is waiting for a SSL handshake, instead add a new
conn_stream flag, CS_FL_WAIT_FOR_HS. This way we don't have to rely on
CO_FL_EARLY_DATA, and we will only wake streams that are actually waiting.
include/types/connection.h
src/mux_h2.c
src/ssl_sock.c
src/stream_interface.c