mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-04 13:27:39 +03:00
re-export max_concurrent_ssl_accept
This commit is contained in:
parent
0b98468c1a
commit
2e7547948e
3 changed files with 6 additions and 4 deletions
|
@ -242,7 +242,7 @@ impl Clone for SslAcceptor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<F: Filter + 'static> FilterFactory<F> for SslAcceptor {
|
impl<F: Filter> FilterFactory<F> for SslAcceptor {
|
||||||
type Filter = SslFilter<F>;
|
type Filter = SslFilter<F>;
|
||||||
|
|
||||||
type Error = Box<dyn Error>;
|
type Error = Box<dyn Error>;
|
||||||
|
@ -297,7 +297,7 @@ impl SslConnector {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<F: Filter + 'static> FilterFactory<F> for SslConnector {
|
impl<F: Filter> FilterFactory<F> for SslConnector {
|
||||||
type Filter = SslFilter<F>;
|
type Filter = SslFilter<F>;
|
||||||
|
|
||||||
type Error = Box<dyn Error>;
|
type Error = Box<dyn Error>;
|
||||||
|
|
|
@ -166,7 +166,7 @@ impl Clone for TlsAcceptor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<F: Filter + 'static> FilterFactory<F> for TlsAcceptor {
|
impl<F: Filter> FilterFactory<F> for TlsAcceptor {
|
||||||
type Filter = TlsFilter<F>;
|
type Filter = TlsFilter<F>;
|
||||||
|
|
||||||
type Error = io::Error;
|
type Error = io::Error;
|
||||||
|
@ -221,7 +221,7 @@ impl Clone for TlsConnectorConfigured {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<F: Filter + 'static> FilterFactory<F> for TlsConnectorConfigured {
|
impl<F: Filter> FilterFactory<F> for TlsConnectorConfigured {
|
||||||
type Filter = TlsFilter<F>;
|
type Filter = TlsFilter<F>;
|
||||||
|
|
||||||
type Error = io::Error;
|
type Error = io::Error;
|
||||||
|
|
|
@ -18,6 +18,8 @@ pub use ntex_tls::openssl;
|
||||||
#[cfg(feature = "rustls")]
|
#[cfg(feature = "rustls")]
|
||||||
pub use ntex_tls::rustls;
|
pub use ntex_tls::rustls;
|
||||||
|
|
||||||
|
pub use ntex_tls::max_concurrent_ssl_accept;
|
||||||
|
|
||||||
pub(crate) use self::builder::create_tcp_listener;
|
pub(crate) use self::builder::create_tcp_listener;
|
||||||
pub use self::builder::ServerBuilder;
|
pub use self::builder::ServerBuilder;
|
||||||
pub use self::config::{Configuration, RuntimeConfiguration, ServiceConfig};
|
pub use self::config::{Configuration, RuntimeConfiguration, ServiceConfig};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue