From e39dace8cb4b1868e811fd13b87f2a81e84b98ce Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Mon, 25 Oct 2021 09:41:06 -0700 Subject: fix(tls): Make TLS clients support HTTP/2 (#12530) `fetch()` and client-side websocket used to support HTTP/2, but this regressed in #11491. This patch reenables it by explicitly adding `h2` and `http/1.1` to the list of ALPN protocols on the HTTP and websocket clients. --- 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 92523ac81..e93793392 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -17,7 +17,7 @@ async-stream = "0.3.2" atty = "0.2.14" base64 = "0.13.0" futures = "0.3.16" -hyper = { version = "0.14.12", features = ["server", "http1", "runtime"] } +hyper = { version = "0.14.12", features = ["server", "http1", "http2", "runtime"] } lazy_static = "1.4.0" os_pipe = "0.9.2" regex = "1.5.4" -- cgit v1.2.3