1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-21 09:23:54 +00:00

Fix typos

This commit is contained in:
Nikolay Kim 2017-12-27 13:26:31 -08:00 committed by GitHub
parent 0589f2ee49
commit 4d741b4de5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,7 +379,7 @@ impl<H: HttpHandler, U, V> HttpServer<SslStream<TcpStream>, net::SocketAddr, H,
for (addr, sock) in addrs {
info!("Starting tls http server on {}", addr);
self.accept.push(
start_accept_thread(sock, addr, workers.clone(), self.backlog));
start_accept_thread(sock, addr, self.backlog, workers.clone()));
}
// start http server actor
@ -791,7 +791,7 @@ fn start_accept_thread(sock: net::TcpListener, addr: net::SocketAddr, backlog: i
sync_mpsc::TryRecvError::Empty => (),
sync_mpsc::TryRecvError::Disconnected => return,
}
}
},
_ => unreachable!(),
}
}