This commit is contained in:
Nikolay Kim 2024-11-04 12:11:12 +05:00
parent 39d53d7f84
commit 2f6935f10e
5 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
//! General purpose tcp server
use ntex_util::services::counter::Counter;
use ntex_util::services::Counter;
use std::sync::atomic::{AtomicUsize, Ordering};
mod accept;

View file

@ -3,7 +3,7 @@ use std::{fmt, future::poll_fn, future::Future, pin::Pin, task::Poll};
use ntex_bytes::{Pool, PoolRef};
use ntex_net::Io;
use ntex_service::{boxed, Service, ServiceCtx, ServiceFactory};
use ntex_util::{future::join_all, services::counter::Counter, HashMap};
use ntex_util::{future::join_all, services::Counter, HashMap};
use crate::ServerConfiguration;

View file

@ -9,7 +9,7 @@ pub mod openssl;
#[cfg(feature = "rustls")]
pub mod rustls;
use ntex_util::services::counter::Counter;
use ntex_util::services::Counter;
/// Sets the maximum per-worker concurrent ssl connection establish process.
///

View file

@ -2,7 +2,7 @@ use std::{cell::RefCell, error::Error, fmt, io};
use ntex_io::{Filter, Io, Layer};
use ntex_service::{Service, ServiceCtx, ServiceFactory};
use ntex_util::{services::counter::Counter, time, time::Millis};
use ntex_util::{services::Counter, time, time::Millis};
use tls_openssl::ssl;
use crate::{openssl::SslFilter, MAX_SSL_ACCEPT_COUNTER};

View file

@ -4,7 +4,7 @@ use tls_rust::ServerConfig;
use ntex_io::{Filter, Io, Layer};
use ntex_service::{Service, ServiceCtx, ServiceFactory};
use ntex_util::{services::counter::Counter, time::Millis};
use ntex_util::{services::Counter, time::Millis};
use crate::{rustls::TlsServerFilter, MAX_SSL_ACCEPT_COUNTER};