mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 04:07:35 +03:00
reject DATAGRAM frames if datagram support is not enabled
This commit is contained in:
parent
913ddc5081
commit
fd41e8fa62
7 changed files with 38 additions and 11 deletions
|
@ -33,7 +33,7 @@ func Fuzz(data []byte) int {
|
|||
encLevel := toEncLevel(data[0])
|
||||
data = data[PrefixLen:]
|
||||
|
||||
parser := wire.NewFrameParser(version)
|
||||
parser := wire.NewFrameParser(true, version)
|
||||
parser.SetAckDelayExponent(protocol.DefaultAckDelayExponent)
|
||||
|
||||
r := bytes.NewReader(data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue