Skip to content
Permalink
Browse files

Disable SNI in HttpSocket

  • Loading branch information...
DT-Tijme committed Jul 27, 2015
1 parent de4b44a commit b16d627b36203c04cc54f3414d438cbd0abb63aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/Http/HttpSocket.php
@@ -719,7 +719,7 @@ protected function _configContext($host) {
unset($this->config[$key]);
}
if (version_compare(PHP_VERSION, '5.3.2', '>=')) {
if (empty($this->config['context']['ssl']['SNI_enabled'])) {
if (!isset($this->config['context']['ssl']['SNI_enabled'])) {
$this->config['context']['ssl']['SNI_enabled'] = true;
}
if (version_compare(PHP_VERSION, '5.6.0', '>=')) {

0 comments on commit b16d627

Please sign in to comment.
You can’t perform that action at this time.