From 63ce36811552b6abb4e1843b066bab33b4a16c01 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 18 Aug 2014 21:59:25 +0200 Subject: [PATCH] Fixes for making Meteor working with HTTPS. Signed-off-by: Roland Haeder --- plugins/Meteor/MeteorPlugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/Meteor/MeteorPlugin.php b/plugins/Meteor/MeteorPlugin.php index 432769ef27..a5bbdc84d9 100644 --- a/plugins/Meteor/MeteorPlugin.php +++ b/plugins/Meteor/MeteorPlugin.php @@ -120,7 +120,9 @@ class MeteorPlugin extends RealtimePlugin $errno = $errstr = null; $timeout = 5; $flags = STREAM_CLIENT_CONNECT; - if ($this->persistent) $flags |= STREAM_CLIENT_PERSISTENT; + if ($this->persistent) { + $flags |= STREAM_CLIENT_PERSISTENT; + } // May throw an exception. $this->_socket = stream_socket_client("tcp://{$controlserver}:{$this->controlport}", $errno, $errstr, $timeout, $flags); -- 2.39.5