diff --git a/lib/Cake/Network/CakeSocket.php b/lib/Cake/Network/CakeSocket.php index a8626386c..0c52b61eb 100644 --- a/lib/Cake/Network/CakeSocket.php +++ b/lib/Cake/Network/CakeSocket.php @@ -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'])) {