Merge branch 'master' into mio-0.7.3

This commit is contained in:
fakeshadow 2020-11-29 23:39:08 +08:00 committed by GitHub
commit 5f763f1234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -268,6 +268,7 @@ impl Accept {
fn deregister_all(&self, sockets: &mut Slab<ServerSocketInfo>) {
sockets.iter_mut().for_each(|(_, info)| {
info!("Accepting connections on {} has been paused", info.addr);
let _ = self.deregister(info);
});
}