Skip to content

Commit

Permalink
Fix SSL via proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
RichieB2B committed Dec 11, 2015
1 parent 1af5d23 commit 4a4728b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Network/CakeSocket.php
Expand Up @@ -137,6 +137,9 @@ public function connect() {
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'])) {
Expand Down

0 comments on commit 4a4728b

Please sign in to comment.