todo: add http2-only client for h2c case
This commit is contained in:
parent
bc73e68e21
commit
f2c6d738b6
5 changed files with 26 additions and 14 deletions
|
|
@ -70,6 +70,7 @@ where
|
|||
.enable_http2()
|
||||
.build();
|
||||
|
||||
// TODO: HTTP2 only client is needed for http2 cleartext case
|
||||
let msg_handler = HttpMessageHandlerBuilder::default()
|
||||
.forwarder(Arc::new(Client::builder().build::<_, hyper::Body>(connector)))
|
||||
.globals(globals.clone())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue