12 Aug
2024
12 Aug
'24
3:19 p.m.
On Sat Aug 10 00:25:17 2024 +0000, Tom Helander wrote:
Oh, yeah, that'd do it. Thanks! I've rewritten the test to loop on `recv()` as you mentioned, but I kept a timeout on the loop via `select()` to avoid blocking the test forever in the event the data is never received, such as the case when only the stub of `HttpSendResponseEntityBody` is implemented. With this implementation, a failed test will take \~1 second, but a success case takes 30-40ms on my machine (4 iterations of the loop to get all of the response).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6216#note_78433