From: Hans Leidekker hans@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) {