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 795c925 commit b387fd2Copy full SHA for b387fd2
src/http/client.zig
@@ -801,7 +801,7 @@ pub const Request = struct {
801
}
802
803
const is_proxy = self._client.isProxy();
804
- if ((is_proxy and self._proxy_secure) or (!is_proxy and self._request_secure)) {
+ if ((is_proxy and self._proxy_secure) or (!self._client.isForwardProxy() and self._request_secure)) {
805
if (self._connection_from_keepalive) {
806
// If the connection came from the keepalive pool, than we already
807
// have a TLS Connection.
0 commit comments