From f6d3e2c4864144c152400830a451c2237bab6084 Mon Sep 17 00:00:00 2001 From: poltawski Date: Mon, 1 Dec 2008 22:23:42 +0000 Subject: [PATCH] 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 --- lib/filelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.39.5