1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 17:07:01 +02:00

better method names

This commit is contained in:
Nikolay Kim
2018-09-14 13:12:55 -07:00
parent 39c3902818
commit 2927a49fdf
3 changed files with 13 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ impl<T: AsyncRead + AsyncWrite> Service for OpensslAcceptorService<T> {
type Future = OpensslAcceptorServiceFut<T>;
fn poll_ready(&mut self) -> Poll<(), Self::Error> {
if self.conns.check() {
if self.conns.available() {
Ok(Async::Ready(()))
} else {
Ok(Async::NotReady)