fix handling of corrupted coalesced 1-RTT packets (#4663)

This commit is contained in:
Marten Seemann
2024-09-07 11:43:42 +08:00
committed by GitHub
parent 4be70e0146
commit ad8f3c0ff8

View File

@@ -864,7 +864,9 @@ func (s *connection) handlePacketImpl(rp receivedPacket) bool {
if counter > 0 { if counter > 0 {
p.buffer.Split() p.buffer.Split()
} }
processed = s.handleShortHeaderPacket(p) if wasProcessed := s.handleShortHeaderPacket(p); wasProcessed {
processed = true
}
break break
} }
} }