1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00
Files
wolfssl/examples/client
Tobias Frauenschläger 7f5e9378db Wait for the bench echo before comparing in the example client
The -B throughput loop waited once for DEFAULT_TIMEOUT_SEC (2 s) and,
on timeout, skipped the read but still compared the buffers. Later
chunks passed by accident because tx_buffer is reused and rx_buffer
held the previous echo, but a late first echo compared against an
unfilled rx_buffer and failed with "Compare TX and RX buffers failed".
This shows up as a flaky DTLS-MTU suite case under CI load.

Retry the select on timeout for up to 5 periods, and fail with an
explicit timeout or select error instead of comparing unread data.
2026-10-13 09:41:15 +02:00
..
2026-02-18 09:52:21 -07:00
2023-07-31 15:37:48 -04:00
2026-07-08 07:53:53 +10:00