From 02c5f49a7aab7b8cfe5ad3b282e6668a1aecddbb Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 8 Nov 2023 13:00:29 -0700 Subject: chore: refactor test_server and move to rustls-tokio-stream (#21117) Remove tokio-rustls as a direct dependency of Deno and refactor test_server to reduce code duplication. All tcp and tls listener paths go through the same streams now, with the exception of the simpler Hyper http-only handlers (those can be done in a later follow-up). Minor bugs fixed: - gRPC server should only serve h2 - WebSocket over http/2 had a port overlap - Restored missing eye-catchers for some servers (still missing on Hyper ones) --- test_util/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_util/Cargo.toml') diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index 72126ae66..ac83eb7c8 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -40,6 +40,7 @@ regex.workspace = true reqwest.workspace = true ring.workspace = true rustls-pemfile.workspace = true +rustls-tokio-stream.workspace = true semver = "=1.0.14" serde.workspace = true serde_json.workspace = true @@ -47,7 +48,6 @@ tar.workspace = true tempfile.workspace = true termcolor.workspace = true tokio.workspace = true -tokio-rustls.workspace = true url.workspace = true [target.'cfg(windows)'.dependencies] -- cgit v1.2.3