Update hyper and other fixes
This commit is contained in:
@@ -13,7 +13,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let origin = http::Uri::from_static("http://[::1]:50051");
|
||||
|
||||
let settings = Builder::new().http2_only(true).clone();
|
||||
let mut maker = Connect::new(HttpConnector::new(1), settings);
|
||||
let mut maker = Connect::new(HttpConnector::new(), settings);
|
||||
|
||||
let svc = maker.make_service(origin.clone()).await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user