forked from quic-go/quic-go
send the CONNECTION_CLOSE in all available encryption levels
This commit is contained in:
@@ -700,7 +700,7 @@ func (h *cryptoSetup) Get0RTTSealer() (LongHeaderSealer, error) {
|
||||
defer h.mutex.Unlock()
|
||||
|
||||
if h.zeroRTTSealer == nil {
|
||||
return nil, errors.New("CryptoSetup: 0-RTT sealer not available")
|
||||
return nil, ErrKeysDropped
|
||||
}
|
||||
return h.zeroRTTSealer, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user