mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
MINOR: quic: Try to accept 0-RTT connections
When a listener managed to derive 0-RTT RX secrets we consider it accepted the early data. So we enqueue the connection into the accept queue.
This commit is contained in:
parent
ea7371e934
commit
61b851d748
@ -779,6 +779,12 @@ int ha_quic_set_encryption_secrets(SSL *ssl, enum ssl_encryption_level_t level,
|
||||
}
|
||||
|
||||
rx->flags |= QUIC_FL_TLS_SECRETS_SET;
|
||||
/* Enqueue this connection asap if we could derive O-RTT secrets as
|
||||
* listener. Note that a listener derives only RX secrets for this
|
||||
* level.
|
||||
*/
|
||||
if (qc_is_listener(qc) && level == ssl_encryption_early_data)
|
||||
quic_accept_push_qc(qc);
|
||||
|
||||
if (!write_secret)
|
||||
goto tp;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user