We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74a299e commit b6132f2Copy full SHA for b6132f2
src/http/client.zig
@@ -711,7 +711,12 @@ pub const Request = struct {
711
}
712
713
714
- if (self._request_secure and !self._proxy_secure and !self._client.isForwardProxy()) {
+
715
716
+ if (
717
+ (self._request_secure and !self._proxy_secure) and
718
+ (!self._client.isForwardProxy() or self._proxy_secure)
719
+ ) {
720
self._connection.?.tls = .{
721
.blocking = try tls.client(std.net.Stream{ .handle = socket }, tls_config),
722
};
0 commit comments