summaryrefslogtreecommitdiffstats
path: root/src/xprt_quic.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:11:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:11:10 +0000
commitcff6d757e3ba609c08ef2aaa00f07e53551e5bf6 (patch)
tree08c4fc3255483ad397d712edb4214ded49149fd9 /src/xprt_quic.c
parentAdding upstream version 2.9.7. (diff)
downloadhaproxy-cff6d757e3ba609c08ef2aaa00f07e53551e5bf6.tar.xz
haproxy-cff6d757e3ba609c08ef2aaa00f07e53551e5bf6.zip
Adding upstream version 3.0.0.upstream/3.0.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/xprt_quic.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xprt_quic.c b/src/xprt_quic.c
index eda113c..b83b634 100644
--- a/src/xprt_quic.c
+++ b/src/xprt_quic.c
@@ -140,6 +140,13 @@ static int qc_xprt_start(struct connection *conn, void *ctx)
/* mux-quic can now be considered ready. */
qc->mux_state = QC_MUX_READY;
+ /* Schedule quic-conn to ensure post handshake frames are emitted. This
+ * is not done for 0-RTT as xprt->start happens before handshake
+ * completion.
+ */
+ if (qc->flags & QUIC_FL_CONN_NEED_POST_HANDSHAKE_FRMS)
+ tasklet_wakeup(qc->wait_event.tasklet);
+
ret = 1;
out:
TRACE_LEAVE(QUIC_EV_CONN_NEW, qc);