forked from quic-go/quic-go
only fire the handshake alarm if handshake packets are outstanding
This commit is contained in:
@@ -376,7 +376,7 @@ func (h *sentPacketHandler) OnAlarm() error {
|
||||
now := time.Now()
|
||||
|
||||
var err error
|
||||
if !h.handshakeComplete {
|
||||
if h.packetHistory.HasOutstandingHandshakePackets() {
|
||||
if h.logger.Debug() {
|
||||
h.logger.Debugf("Loss detection alarm fired in handshake mode")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user