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:
Arkadiy Paronyan
2017-01-10 14:54:00 +01:00
committed by GitHub
parent 2467408a30
commit be920b490f
8 changed files with 21 additions and 21 deletions

View File

@@ -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)
})
}