add error handling when confirming handshake on HANDSHAKE_DONE frames (#4017)

This commit is contained in:
Marten Seemann 2023-08-05 10:02:24 -04:00 committed by Gaukas Wang
parent 18e4a9f516
commit f8dd2f2c8f

View file

@ -1481,7 +1481,7 @@ func (s *connection) handleHandshakeDoneFrame() error {
}
}
if !s.handshakeConfirmed {
s.handleHandshakeConfirmed()
return s.handleHandshakeConfirmed()
}
return nil
}