1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-01 01:16:59 +02:00

Allow to set read buffer capacity for server request

This commit is contained in:
Nikolay Kim
2018-03-12 10:01:56 -07:00
parent 46b9a9c887
commit 6657446433
7 changed files with 32 additions and 6 deletions

View File

@@ -172,7 +172,7 @@ impl<H> HttpServer<H> where H: IntoHttpHandler + 'static
/// Get addresses of bound sockets.
pub fn addrs(&self) -> Vec<net::SocketAddr> {
self.sockets.iter().map(|s| s.0.clone()).collect()
self.sockets.iter().map(|s| s.0).collect()
}
/// Use listener for accepting incoming connection requests