dépôts
/
lhc
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SPIP] ~spip v3.2.0-->v3.2.1
[lhc/web/www.git]
/
www
/
ecrire
/
inc
/
distant.php
diff --git
a/www/ecrire/inc/distant.php
b/www/ecrire/inc/distant.php
index
cbe5923
..
266ba95
100644
(file)
--- a/
www/ecrire/inc/distant.php
+++ b/
www/ecrire/inc/distant.php
@@
-1312,7
+1312,7
@@
function lance_requete(
)
));
if (version_compare(phpversion(), '5.6', '<')) {
-
$streamContext['SNI_server_name'] = $host
;
+
stream_context_set_option($streamContext, 'ssl', 'SNI_server_name', $host)
;
}
$f = @stream_socket_client(
"tcp://$first_host:$port",