mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 21:07:39 +03:00
wip
This commit is contained in:
parent
4a94400969
commit
0376561547
1 changed files with 7 additions and 5 deletions
|
@ -203,12 +203,14 @@ impl Accept {
|
|||
}
|
||||
}
|
||||
|
||||
println!("------- ACCEPTING");
|
||||
for event in events.iter() {
|
||||
println!("------- ACCEPTED {:?}", event);
|
||||
let readd = self.accept(event.key);
|
||||
println!("------- ACCEPTING: {:?}", events.len());
|
||||
for idx in 0..self.sockets.len() {
|
||||
if !self.sockets[idx].registered.get() {
|
||||
continue;
|
||||
}
|
||||
let readd = self.accept(idx);
|
||||
if readd {
|
||||
self.add_source(event.key);
|
||||
self.add_source(idx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue