Skip to content

Commit 38bbad6

Browse files
committed
Revert "fix secure connection logic"
This reverts commit b6132f2.
1 parent b6132f2 commit 38bbad6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/http/client.zig

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -711,12 +711,7 @@ pub const Request = struct {
711711
}
712712
}
713713
}
714-
715-
716-
if (
717-
(self._request_secure and !self._proxy_secure) and
718-
(!self._client.isForwardProxy() or self._proxy_secure)
719-
) {
714+
if (self._request_secure and !self._proxy_secure and !self._client.isForwardProxy()) {
720715
self._connection.?.tls = .{
721716
.blocking = try tls.client(std.net.Stream{ .handle = socket }, tls_config),
722717
};

0 commit comments

Comments
 (0)