[PATCH 0/1] MR1741: winhttp/tests: Reduce send buffer size.
It looks like there was a change on the websocket test server that causes our send operations to block. Reducing the size of the send buffer works around the test failures. The tests still succeed on Windows, which suggests that native sends large buffers in smaller chunks. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1741
From: Hans Leidekker <hans(a)codeweavers.com> It looks like there was a change on the websocket test server that causes our send operations to block. Reducing the size of the send buffer works around the test failures. The tests still succeed on Windows, which suggests that native sends large buffers in smaller chunks. --- dlls/winhttp/tests/notification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c index a9f782f5e3d..7c313370768 100644 --- a/dlls/winhttp/tests/notification.c +++ b/dlls/winhttp/tests/notification.c @@ -776,7 +776,7 @@ static const struct notification websocket_test5[] = { winhttp_close_handle, WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING, NF_SIGNAL } }; -#define BIG_BUFFER_SIZE (32 * 1024) +#define BIG_BUFFER_SIZE (16 * 1024) static void test_websocket(BOOL secure) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1741
participants (2)
-
Hans Leidekker -
Hans Leidekker (@hans)