diff --git a/src/http.zig b/src/http.zig index f3b5619ecd..c36d990985 100644 --- a/src/http.zig +++ b/src/http.zig @@ -2456,10 +2456,10 @@ pub fn isKeepAlivePossible(this: *HTTPClient) bool { if (comptime FeatureFlags.enable_keepalive) { // TODO keepalive for unix sockets if (this.unix_socket_path.length() > 0) return false; - // is not possible to reuse Proxy with TSL, so disable keepalive if url is tunneling HTTPS - if (this.http_proxy != null and this.url.isHTTPS()) { - return false; - } + // // is not possible to reuse Proxy with TSL, so disable keepalive if url is tunneling HTTPS + // if (this.http_proxy != null and this.url.isHTTPS()) { + // return false; + // } //check state if (this.state.flags.allow_keepalive and !this.flags.disable_keepalive) return true;