From abef930f87358a8f1e810000669bfd8eb4a64278 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 11 Sep 2018 08:59:03 -0700 Subject: [PATCH] fix openssl uses --- src/server/mod.rs | 2 +- src/ssl/openssl.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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