Backporing to 1.4.10-stable (#4110)
* v1.4.10 * No reorg limit for ancient blocks * Update registration after every write Former-commit-id: 9480d724d04ecaa1fdccc7d9bb56ba8b3580ccf1
This commit is contained in:
@@ -158,8 +158,8 @@ impl<Socket: GenericSocket> GenericConnection<Socket> {
|
||||
}
|
||||
if self.send_queue.is_empty() {
|
||||
self.interest.remove(Ready::writable());
|
||||
try!(io.update_registration(self.token));
|
||||
}
|
||||
try!(io.update_registration(self.token));
|
||||
Ok(r)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user