mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
Update src/http/client.zig
Co-authored-by: Sjors <72333389+sjorsdonkers@users.noreply.github.com>
This commit is contained in:
@@ -801,7 +801,7 @@ pub const Request = struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const is_proxy = self._client.isProxy();
|
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 (self._connection_from_keepalive) {
|
||||||
// If the connection came from the keepalive pool, than we already
|
// If the connection came from the keepalive pool, than we already
|
||||||
// have a TLS Connection.
|
// have a TLS Connection.
|
||||||
|
|||||||
Reference in New Issue
Block a user