implement unpacking of 0-RTT packets

This commit is contained in:
Marten Seemann
2019-08-04 13:49:36 +07:00
parent c5f74595ca
commit fc37cdc5c5
5 changed files with 51 additions and 2 deletions

View File

@@ -361,6 +361,7 @@ func (s *baseServer) handlePacketImpl(p *receivedPacket) bool /* was the packet
// Drop long header packets.
// There's litte point in sending a Stateless Reset, since the client
// might not have received the token yet.
s.logger.Debugf("Dropping long header packet of type %s (%d bytes)", hdr.Type, len(p.data))
return false
}