From 6b42cecc064d01d87aae978ecd7eb372bfe9a34e Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 15 Nov 2023 16:12:46 -0700 Subject: feat(ext/net): use rustls_tokio_stream (#21205) Fixes #21121 and #19498 Migrates fully to rustls_tokio_stream. We no longer need to maintain our own TlsStream implementation to properly support duplex. This should fix a number of errors with TLS and websockets, HTTP and "other" places where it's failing. --- cli/tests/testdata/run/websocket_test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (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 b759d042d..74a369d55 100644 --- a/cli/tests/testdata/run/websocket_test.ts +++ b/cli/tests/testdata/run/websocket_test.ts @@ -159,11 +159,9 @@ Deno.test("websocket error", async () => { ws.onopen = () => fail(); ws.onerror = (err) => { assert(err instanceof ErrorEvent); - - // Error message got changed because we don't use warp in test_util assertEquals( err.message, - "NetworkError: failed to connect to WebSocket: invalid data", + "NetworkError: failed to connect to WebSocket: received corrupt message of type InvalidContentType", ); promise1.resolve(); }; -- cgit v1.2.3