diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-11-07 18:14:11 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-11-08 09:17:53 +0100 |
commit | d7e3ef70b601831d5bef3fef21fa16b761f561e8 (patch) | |
tree | b091e8a7acdb95eaf38aa7aadbb22fe87836f8ff /src/lib/tests/btree_test.c | |
parent | e8d7815033a0a9079be9b8ddefd496043f3f5dee (diff) | |
download | ouroboros-d7e3ef70b601831d5bef3fef21fa16b761f561e8.tar.gz ouroboros-d7e3ef70b601831d5bef3fef21fa16b761f561e8.zip |
lib: Fix timeout overflow on 32-bit systems0.20.1
The timeout comparison for keepalives could overflow on 32-bit
systems, as times were converted to nanoseconds and be limited to a
bit over 4 seconds. This caused flow reads to fail miserably with
EFLOWPEER errors when keepalives were set higher on these systems.
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