mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Disable SNI in HttpSocket
This commit is contained in:
parent
de4b44a37b
commit
b16d627b36
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ class HttpSocket extends CakeSocket {
|
|||
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', '>=')) {
|
||||
|
|
Loading…
Reference in a new issue