mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
only fire the handshake alarm if handshake packets are outstanding
This commit is contained in:
parent
3f9212b5f7
commit
95ef15c6b1
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue