From: poltawski Date: Mon, 1 Dec 2008 22:23:42 +0000 (+0000) Subject: lib: class curl does http proxy tunneling if http proxy set. Most X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f6d3e2c4864144c152400830a451c2237bab6084;p=moodle.git 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 --- diff --git a/lib/filelib.php b/lib/filelib.php index 8ed92ff7de..0a6b0aa8b5 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -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)); }