rc/client/http_client.rs: add experimental h2 upgrade code
This commit is contained in:
@ -47,6 +47,7 @@ fn upgrade_h2upload(
|
||||
println!("upgrade done");
|
||||
server::handshake(conn)
|
||||
.and_then(|h2| {
|
||||
println!("Accept h2");
|
||||
// Accept all inbound HTTP/2.0 streams sent over the
|
||||
// connection.
|
||||
h2.for_each(|(request, mut respond)| {
|
||||
|
Reference in New Issue
Block a user