From 4a12d045e42d0a0010f555011c4d8d06bda972b0 Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Thu, 10 Jul 2025 17:10:58 +0800 Subject: [PATCH] Update src/http/client.zig Co-authored-by: Sjors <72333389+sjorsdonkers@users.noreply.github.com> --- src/http/client.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/client.zig b/src/http/client.zig index 81c843948..fa3c47c1c 100644 --- a/src/http/client.zig +++ b/src/http/client.zig @@ -801,7 +801,7 @@ pub const Request = struct { } const is_proxy = self._client.isProxy(); - if ((is_proxy and self._proxy_secure) or (!is_proxy and self._request_secure)) { + if ((is_proxy and self._proxy_secure) or (!is_forward_proxy and self._request_secure)) { if (self._connection_from_keepalive) { // If the connection came from the keepalive pool, than we already // have a TLS Connection.