Skip to content

Commit

Permalink
Disable HTTP/2 in http-common. (#591)
Browse files Browse the repository at this point in the history
We don't support it as a server and nothing we use it as a client with supports it either, so having it enabled just increased attack surface.
  • Loading branch information
arsing committed Mar 5, 2024
1 parent 9f5c079 commit 1a31efe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
34 changes: 0 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion http-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ base64 = "0.21"
futures-util = "0.3"
headers = { version = "0.3" }
http = "0.2"
hyper = { version = "0.14", features = ["client", "http1", "http2", "server", "stream", "tcp"] }
hyper = { version = "0.14", features = ["client", "http1", "server", "stream", "tcp"] }
hyper-openssl = { version = "0.9" }
hyper-proxy = { version = "0.9", features = ["openssl-tls"], default-features = false }
libc = "0.2"
Expand Down

0 comments on commit 1a31efe

Please sign in to comment.