diff --git a/actix-server/CHANGES.md b/actix-server/CHANGES.md index 37763323..19cd711a 100644 --- a/actix-server/CHANGES.md +++ b/actix-server/CHANGES.md @@ -8,6 +8,9 @@ * Remove `AcceptNotify` type and pass `WakerQueue` to `Worker` for wake up the `Accept`'s `Poll`. * Convert `mio::net::TcpStream` to `actix_rt::net::TcpStream`(`UnixStream` for uds) using `FromRawFd` and `IntoRawFd`(`FromRawSocket` and `IntoRawSocket` on windows). * Remove `AsyncRead` and `AsyncWrite` trait bound for `socket::FromStream` trait. +* Added explicit info log message on accept queue pause. [#215] + +[#215]: https://github.com/actix/actix-net/pull/215 ## 1.0.4 - 2020-09-12 * Update actix-codec to 0.3.0. diff --git a/actix-server/src/accept.rs b/actix-server/src/accept.rs index 1f084559..4ac92465 100644 --- a/actix-server/src/accept.rs +++ b/actix-server/src/accept.rs @@ -268,6 +268,7 @@ impl Accept { fn deregister_all(&self, sockets: &mut Slab) { sockets.iter_mut().for_each(|(_, info)| { + info!("Accepting connections on {} has been paused", info.addr); let _ = self.deregister(info); }); }