File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1443,11 +1443,11 @@ QuicConnTryClose(
1443
1443
if (!ClosedRemotely ) {
1444
1444
if ((Flags & QUIC_CLOSE_APPLICATION ) &&
1445
1445
(Connection -> Crypto .TlsState .WriteKey < QUIC_PACKET_KEY_1_RTT ||
1446
- (QuicConnIsClient (Connection ) && !Connection -> State . HandshakeConfirmed ))) {
1446
+ (QuicConnIsClient (Connection ) && !Connection -> Crypto . TlsState . HandshakeComplete ))) {
1447
1447
//
1448
1448
// Application close can only happen if we are using 1-RTT keys.
1449
1449
// 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 .
1451
1451
//
1452
1452
// Send "user_canceled" TLS error code as a connection close instead.
1453
1453
// Overwrite all application provided parameters.
You can’t perform that action at this time.
0 commit comments