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:
poltawski 2008-12-01 22:23:42 +00:00
parent 53bd22559d
commit f6d3e2c486

View File

@ -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));
}