private-octopus / picoquic

Minimal implementation of the QUIC protocol
MIT License
527 stars 156 forks source link

Maintain list of packet with data frames for retransmission. #1514

Closed huitema closed 1 year ago

huitema commented 1 year ago

Instead of copying stream data frames in retransmission buffer, chain the packet that contains the frames in the list of packets containing stream data that should be sent again. There is one copy of the packet, chained to both the "loss confirmation" queue and the"stream data repeat" queue. Memory is freed when the packet is removed form both lists. Update code, add tests, etc.

Close #1504