diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-03-10 08:23:15 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-03-11 17:51:27 +0100 |
commit | f300e609e7975dacc06996d407170fe58aa49439 (patch) | |
tree | b6210cb429de6ab1a3cd555562b8b4b15a7f82c0 /src/lib/tests | |
parent | a7032da6bbe875596ea1cb348a747123cda7d408 (diff) | |
download | ouroboros-f300e609e7975dacc06996d407170fe58aa49439.tar.gz ouroboros-f300e609e7975dacc06996d407170fe58aa49439.zip |
lib: Fix buffer allocation when retransmitting0.19.0
The timerwheel was retransmitting packets and the error check for
negative values of the rbuff allocation was instead checking for
non-zero values, causing a buffer allocation to succeed but the
program to continue down the unhappy path leaving that packet stuck in
the buffer unattended.
Also fixes wrongly scheduled retransmissions that cause packet storms.
FRCP is much more stable now. Still needs some work for high
bandwidth-delay products (fast-retransmit).
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests')
0 files changed, 0 insertions, 0 deletions