*** extension/ezcontentstaging/classes/private/ezrestclient.php.orig.20130111 2012-10-05 17:46:39.000000000 +0200 --- extension/ezcontentstaging/classes/private/ezrestclient.php 2013-01-18 11:07:22.323864170 +0100 *************** *** 164,171 **** $HTTPRequest = $this->payload( $request ); /// @todo add ssl support with raw sockets $fp = stream_socket_client( ! "tcp://" . $connectServer . ":" . $connectPort, $this->errorNumber, $this->errorString, $this->Timeout != 0 ? $this->Timeout : ini_get( "default_socket_timeout" ) --- 164,175 ---- $HTTPRequest = $this->payload( $request ); /// @todo add ssl support with raw sockets + if ( strpos( $connectServer, 'ssl://' ) === false ) + { + $connectServer = 'tcp://' . $connectServer; + } $fp = stream_socket_client( ! $connectServer . ":" . $connectPort, $this->errorNumber, $this->errorString, $this->Timeout != 0 ? $this->Timeout : ini_get( "default_socket_timeout" )