Closed NathanFlurry closed 1 month ago
To mitigate the IncompleteMessage
error, adjust the Hyper client pool keepalive settings in cli/src/util/api.rs
. Locate the Hyper client configuration and set the keepalive timeout to a lower value. Example:
use hyper::client::HttpConnector;
use hyper::Client;
use hyper::client::connect::Connect;
let mut http = HttpConnector::new();
http.set_keepalive(Some(Duration::from_secs(5)));
let client = Client::builder().build::<_, hyper::Body>(http);
https://github.com/hyperium/hyper/issues/2136