mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-28 22:20:36 +02:00
Notify about paused accept loop (#215)
This commit is contained in:
@ -381,6 +381,7 @@ impl Accept {
|
||||
self.backpressure = true;
|
||||
for (_, info) in self.sockets.iter() {
|
||||
let _ = self.poll.deregister(&info.sock);
|
||||
info!("Accepting connections on {} has been paused", info.addr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user