Fix SSL via proxy

This commit is contained in:
Richard van den Berg 2015-12-11 10:28:53 +01:00
parent 1af5d23e87
commit 4a4728b44d

View file

@ -137,6 +137,9 @@ class CakeSocket {
if (!empty($this->config['protocol'])) {
$scheme = $this->config['protocol'] . '://';
}
if (!empty($this->config['proxy'])) {
$scheme = 'tcp://';
}
$host = $this->config['host'];
if (isset($this->config['request']['uri']['host'])) {