russelltg/srt-rs

Fix receiver flushing issue

russelltg opened this issue · 1 comments

There is a certain order of events that fails the tests (one of the reasons for lossy's flakiness) --

  • Sender sends last packet
  • Receiver sends ACK
  • Sender sends ACK2
    • Sender is now flushed and exits
  • ACK 2 gets dropped
  • Receiver never becomes flushed, as it's waiting for the ACK2

https://russelltg.visualstudio.com/srt-rs/_build/results?buildId=269&view=logs&jobId=4b8c379e-28f4-5b8f-fa0b-784d388c1b0a&j=4b8c379e-28f4-5b8f-fa0b-784d388c1b0a&t=22d562d2-6d09-5b1d-995a-3d120df6fb13

This was solved by continously retransmitting the last packet