summaryrefslogtreecommitdiff
path: root/src/lib/tests/btree_test.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2022-03-13 17:47:10 +0100
committerSander Vrijders <sander@ouroboros.rocks>2022-03-16 13:11:14 +0100
commit5ec6b4bea3f14a74bfcbba833708e2e455bef237 (patch)
tree810804fad282209d08cd639609b56ca5cc322903 /src/lib/tests/btree_test.c
parentf300e609e7975dacc06996d407170fe58aa49439 (diff)
downloadouroboros-5ec6b4bea3f14a74bfcbba833708e2e455bef237.tar.gz
ouroboros-5ec6b4bea3f14a74bfcbba833708e2e455bef237.zip
lib: Fix retransmission scheduling
There still were a couple of bugs in the timerwheel. If the future schedule was coinciding with the slot currently being processed (i.e. exactly RXMQ_SLOTS in the future), the list_add_tail caused an infinite loop. Another bug was causing the slots at higher levels to be processed too soon. Retransmissions should now schedule correctly. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/btree_test.c')
0 files changed, 0 insertions, 0 deletions