diff --git a/src/server/mod.rs b/src/server/mod.rs index 981afecb..44923cd4 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -10,7 +10,7 @@ mod worker; pub use self::server::Server; pub use self::services::ServerServiceFactory; -pub(crate) use self::worker::Connections; +pub(crate) use self::worker::{Connections, ConnectionsGuard}; /// Pause accepting incoming connections /// diff --git a/src/ssl/openssl.rs b/src/ssl/openssl.rs index 025d074a..057ab845 100644 --- a/src/ssl/openssl.rs +++ b/src/ssl/openssl.rs @@ -7,7 +7,7 @@ use tokio_openssl::{AcceptAsync, ConnectAsync, SslAcceptorExt, SslConnectorExt, use super::MAX_CONN_COUNTER; use connector::ConnectionInfo; -use worker::{Connections, ConnectionsGuard}; +use server::{Connections, ConnectionsGuard}; use {NewService, Service}; /// Support `SSL` connections via openssl package