From e4308aebc0a060e7210362e576e792e558384c24 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Tue, 31 Oct 2023 09:34:45 -0600 Subject: feat(ext/websocket): use rustls-tokio-stream instead of tokio-rustls (#20518) Use new https://github.com/denoland/rustls-tokio-stream project instead of tokio-rustls for direct websocket connections. This library was written from the ground up to be more reliable and should help with various bugs that may occur due to underlying bugs in the old library. Believed to fix #20355, #18977, #20948 --- cli/tests/testdata/run/websocket_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/testdata/run/websocket_test.ts') diff --git a/cli/tests/testdata/run/websocket_test.ts b/cli/tests/testdata/run/websocket_test.ts index d80f03c92..43db15cce 100644 --- a/cli/tests/testdata/run/websocket_test.ts +++ b/cli/tests/testdata/run/websocket_test.ts @@ -163,7 +163,7 @@ Deno.test("websocket error", async () => { // Error message got changed because we don't use warp in test_util assertEquals( err.message, - "InvalidData: received corrupt message of type InvalidContentType", + "InvalidData: invalid data", ); promise1.resolve(); }; -- cgit v1.2.3