1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 01:31:57 +02:00

add keep-alive for h2 connection

This commit is contained in:
Nikolay Kim
2017-11-04 13:24:57 -07:00
parent 28652a3ba8
commit 53868a88fa
2 changed files with 45 additions and 9 deletions

View File

@@ -12,6 +12,8 @@ use native_tls::TlsAcceptor;
#[cfg(feature="tls")]
use tokio_tls::{TlsStream, TlsAcceptorExt};
#[cfg(feature="alpn")]
use futures::Future;
#[cfg(feature="alpn")]
use openssl::ssl::{SslMethod, SslAcceptorBuilder};
#[cfg(feature="alpn")]