mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
@@ -711,12 +711,7 @@ pub const Request = struct {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (self._request_secure and !self._proxy_secure and !self._client.isForwardProxy()) {
|
||||||
|
|
||||||
if (
|
|
||||||
(self._request_secure and !self._proxy_secure) and
|
|
||||||
(!self._client.isForwardProxy() or self._proxy_secure)
|
|
||||||
) {
|
|
||||||
self._connection.?.tls = .{
|
self._connection.?.tls = .{
|
||||||
.blocking = try tls.client(std.net.Stream{ .handle = socket }, tls_config),
|
.blocking = try tls.client(std.net.Stream{ .handle = socket }, tls_config),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user