Files
cpp-httplib/test
yhirose fe4cf49fcd Check bounded WebSocket reads by their timeouts, not by wall time
check_bounded_read_resumes() sent each piece 200 ms after the last and
required every read() to return within 150 ms, which a stalled macOS
runner missed (167 ms, 174 ms). The sender now waits, after each piece
is sent, until read() has timed out twice, so a read() that waits for
the rest of the message still fails the test and a slow machine only
waits longer. TCP_NODELAY keeps Nagle's algorithm from holding a piece
back until the next, and the two tests drop from about 1.4 s to 70 ms.
2026-11-26 20:46:17 -05:00
..
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2017-12-29 22:34:59 -05:00
2013-07-04 18:18:52 -04:00
2024-11-16 11:14:13 -05:00