We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a5db00 commit 84f6ae7Copy full SHA for 84f6ae7
examples/http_proxy.rs
@@ -32,6 +32,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
32
.http1_preserve_header_case(true)
33
.http1_title_case_headers(true)
34
.serve_connection(stream, service_fn(proxy))
35
+ .with_upgrades()
36
.await
37
{
38
println!("Failed to serve connection: {:?}", err);
0 commit comments