forked from quic-go/quic-go
don't log Initial packets in the packet handler map
This commit is contained in:
@@ -254,11 +254,11 @@ func (h *packetHandlerMap) handleParsedPackets(packets []*receivedPacket) {
|
|||||||
// TODO(#943): send a stateless reset
|
// TODO(#943): send a stateless reset
|
||||||
h.logger.Debugf("received a short header packet with an unexpected connection ID %s", p.hdr.DestConnectionID)
|
h.logger.Debugf("received a short header packet with an unexpected connection ID %s", p.hdr.DestConnectionID)
|
||||||
break // a short header packet is always the last in a coalesced packet
|
break // a short header packet is always the last in a coalesced packet
|
||||||
|
|
||||||
}
|
}
|
||||||
if h.server != nil { // no server set
|
if h.server == nil { // no server set
|
||||||
|
h.logger.Debugf("received a packet with an unexpected connection ID %s", p.hdr.DestConnectionID)
|
||||||
|
continue
|
||||||
|
}
|
||||||
h.server.handlePacket(p)
|
h.server.handlePacket(p)
|
||||||
}
|
}
|
||||||
h.logger.Debugf("received a packet with an unexpected connection ID %s", p.hdr.DestConnectionID)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user