queue lost STREAM frames in the stream's retransmission queue

This commit is contained in:
Marten Seemann
2019-08-29 19:09:05 +07:00
parent 3525a51ada
commit f49451ce3c
6 changed files with 178 additions and 137 deletions

View File

@@ -68,6 +68,9 @@ func (p *packedPacket) ToAckHandlerPacket(q *retransmissionQueue) *ackhandler.Pa
}
encLevel := p.EncryptionLevel()
for i := range p.frames {
if p.frames[i].OnLost != nil {
continue
}
switch encLevel {
case protocol.EncryptionInitial:
p.frames[i].OnLost = q.AddInitial