forked from quic-go/quic-go
move parsing of version negotiation packets to the wire.Header
This commit is contained in:
@@ -32,7 +32,7 @@ func (s *serverSession) handlePacket(p *receivedPacket) {
|
||||
}
|
||||
|
||||
func (s *serverSession) handlePacketImpl(p *receivedPacket) error {
|
||||
hdr := p.header
|
||||
hdr := p.extHdr
|
||||
|
||||
// Probably an old packet that was sent by the client before the version was negotiated.
|
||||
// It is safe to drop it.
|
||||
|
||||
Reference in New Issue
Block a user