quiche icon indicating copy to clipboard operation
quiche copied to clipboard

No ACK is sent when the cwnd is full

Open francoismichel opened this issue 2 years ago • 0 comments

Hello,

It seems that in send_single() in lib.rs, ACKs are only added to packets when the congestion window has remaining space.

This can lead to problems when both endpoints are sending: the receiver of new data won't be able to send the ACK frames and it can lead to poor performances or connection interruption that I experienced during some tests.

The left variable should maybe not be capped to the cwnd_available of the path while ACKs have not been packed into the packet.

I can work on a PR to fix the issue.

What do you think ?

francoismichel avatar Jul 11 '22 15:07 francoismichel