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 GitHub
parent 18d3846d4f
commit 26c6fcc549
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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