mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 04:56:10 +02:00
MINOR: quic: wakeup backend MUX on handshake completed
This commit is the second and final step to initiate QUIC MUX on the backend side. On handshake completion, MUX is woken up just after its creation. This step is necessary to notify the stream layer, via the QCS instance pre-initialized on MUX init, so that the transfer can be resumed. This mode of operation is similar to TCP stack when TLS+ALPN are used, which forces MUX initialization to be delayed after handshake completion.
This commit is contained in:
parent
1efaca8a57
commit
4031bf7432
@ -975,6 +975,8 @@ static int qc_ssl_provide_quic_data(struct ncbuf *ncbuf,
|
||||
goto leave;
|
||||
}
|
||||
|
||||
/* Wake up MUX after its creation. Operation similar to TLS+ALPN on TCP stack. */
|
||||
ctx->conn->mux->wake(ctx->conn);
|
||||
qc->mux_state = QC_MUX_READY;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user