diff --git a/src/connect.rs b/src/connect.rs index c171dd18d..2fdcd56c0 100644 --- a/src/connect.rs +++ b/src/connect.rs @@ -68,6 +68,7 @@ impl Connector { { http.set_local_address(local_addr.into()); http.set_nodelay(nodelay); + Connector { inner: Inner::Http(http), verbose: verbose::OFF, @@ -109,6 +110,7 @@ impl Connector { T: Into>, { http.set_local_address(local_addr.into()); + http.set_nodelay(nodelay); http.enforce_http(false); Connector { @@ -136,6 +138,7 @@ impl Connector { T: Into>, { http.set_local_address(local_addr.into()); + http.set_nodelay(nodelay); http.enforce_http(false); let (tls, tls_proxy) = if proxies.is_empty() {