mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
lib: class curl does http proxy tunneling if http proxy set. Most
proxies do not permit this so I think its better to just use pure pure http MDL-17482
This commit is contained in:
parent
53bd22559d
commit
f6d3e2c486
@ -1614,7 +1614,7 @@ class curl {
|
||||
$this->proxy_type = CURLPROXY_SOCKS5;
|
||||
} else {
|
||||
$this->proxy_type = CURLPROXY_HTTP;
|
||||
$this->setopt(array('httpproxytunnel'=>true));
|
||||
$this->setopt(array('httpproxytunnel'=>false));
|
||||
}
|
||||
$this->setopt(array('proxytype'=>$this->proxy_type));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user