diff --git a/packet_unpacker.go b/packet_unpacker.go index eb8313b5..0e251455 100644 --- a/packet_unpacker.go +++ b/packet_unpacker.go @@ -44,7 +44,7 @@ func (u *packetUnpacker) Unpack(publicHeaderBinary []byte, hdr *publicHeader, da return nil, qerr.MissingPayload } - fs := make([]frames.Frame, 0, 1) + fs := make([]frames.Frame, 0, 2) // Read all frames in the packet ReadLoop: