mirror of https://github.com/fafhrd91/actix-net
re-add timeout filter when recover from backpressure
This commit is contained in:
parent
3208d5634e
commit
2f188fcc94
|
@ -295,6 +295,10 @@ impl Accept {
|
|||
if !on {
|
||||
self.backpressure = false;
|
||||
for (token, info) in sockets.iter_mut() {
|
||||
if info.timeout.is_some() {
|
||||
// socket will attempt to re-register itself when its timeout completes
|
||||
continue;
|
||||
}
|
||||
self.register_logged(token, info);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue