Skip to content

Commit 13eb5b8

Browse files
committed
Fix downlevel test failures
1 parent ff3f20f commit 13eb5b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/connection.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,11 +1443,11 @@ QuicConnTryClose(
14431443
if (!ClosedRemotely) {
14441444
if ((Flags & QUIC_CLOSE_APPLICATION) &&
14451445
(Connection->Crypto.TlsState.WriteKey < QUIC_PACKET_KEY_1_RTT ||
1446-
(QuicConnIsClient(Connection) && !Connection->State.HandshakeConfirmed))) {
1446+
(QuicConnIsClient(Connection) && !Connection->Crypto.TlsState.HandshakeComplete))) {
14471447
//
14481448
// Application close can only happen if we are using 1-RTT keys.
14491449
// In case of Clients, we may have 1-RTT write keys earlier but
1450-
// server may not process 1-RTT packets until the handshake is confirmed.
1450+
// server may not process 1-RTT packets until the handshake is complete.
14511451
//
14521452
// Send "user_canceled" TLS error code as a connection close instead.
14531453
// Overwrite all application provided parameters.

0 commit comments

Comments
 (0)