mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Use hostname of request instead of hostname of proxy for SNI
This commit is contained in:
parent
65b84107a1
commit
f8e7634131
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class CakeSocket {
|
|||
$scheme = $this->config['protocol'] . '://';
|
||||
}
|
||||
|
||||
$this->_setSslContext($this->config['host']);
|
||||
$this->_setSslContext($this->config['request']['uri']['host']);
|
||||
if (!empty($this->config['context'])) {
|
||||
$context = stream_context_create($this->config['context']);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue