mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
implement writing of ACK frames containing ECN counts
This commit is contained in:
parent
1914e5f100
commit
13fa0bcdd1
7 changed files with 95 additions and 14 deletions
|
@ -115,6 +115,13 @@ func getFrames() []wire.Frame {
|
|||
AckRanges: getAckRanges(300),
|
||||
DelayTime: time.Duration(getRandomNumber()),
|
||||
},
|
||||
&wire.AckFrame{
|
||||
AckRanges: getAckRanges(3),
|
||||
DelayTime: time.Duration(getRandomNumber()),
|
||||
ECT0: getRandomNumber(),
|
||||
ECT1: getRandomNumber(),
|
||||
ECNCE: getRandomNumber(),
|
||||
},
|
||||
&wire.PingFrame{},
|
||||
&wire.ResetStreamFrame{
|
||||
StreamID: protocol.StreamID(getRandomNumber()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue