1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-30 16:40:21 +02:00

allow to disable http/2 support

This commit is contained in:
Nikolay Kim
2018-03-16 08:48:44 -07:00
parent b16f2d5f05
commit 4096089a3f
5 changed files with 31 additions and 15 deletions

View File

@@ -204,7 +204,8 @@ impl StreamHandlerType {
} else {
false
};
Arbiter::handle().spawn(HttpChannel::new(h, io, peer, http2));
Arbiter::handle().spawn(
HttpChannel::new(h, io, peer, http2));
},
Err(err) =>
trace!("Error during handling tls connection: {}", err),