Merge pull request #1722 from lucas-clemente/remove-unused-decryption-error-check

remove unneeded check for decryption errors in session
This commit is contained in:
Marten Seemann
2019-01-07 08:04:28 +07:00
committed by GitHub

View File

@@ -802,11 +802,7 @@ func (s *session) handleCloseError(closeErr closeError) error {
if closeErr.remote {
return nil
}
if quicErr.ErrorCode == qerr.DecryptionFailure {
// TODO(#943): send a stateless reset
return nil
}
// otherwise send a CONNECTION_CLOSE
return s.sendConnectionClose(quicErr)
}