diff --git a/src/client/http_client.rs b/src/client/http_client.rs index db7cea3d..4ece9007 100644 --- a/src/client/http_client.rs +++ b/src/client/http_client.rs @@ -165,7 +165,7 @@ impl HttpClient { let mut httpc = hyper::client::HttpConnector::new(1); httpc.set_nodelay(true); // important for h2 download performance! - httpc.set_recv_buf_size(Some(1024*1024)); //important for h2 download performance! + httpc.set_recv_buffer_size(Some(1024*1024)); //important for h2 download performance! httpc.enforce_http(false); // we want https... let https = hyper_openssl::HttpsConnector::with_connector(httpc, ssl_connector_builder).unwrap();