diff --git a/application/socketio/controller/Server.php b/application/socketio/controller/Server.php index b0a088c..e643c66 100644 --- a/application/socketio/controller/Server.php +++ b/application/socketio/controller/Server.php @@ -76,7 +76,7 @@ class Server 'verify_peer' => false, ) ); - $inner_http_worker = new Worker('http://0.0.0.0:2121',$context); + $inner_http_worker = new Worker('https://0.0.0.0:2121',$context); // 当http客户端发来数据时触发 $inner_http_worker->onMessage = function(TcpConnection $http_connection, Request $request) use ($sender_io) { // global $uidConnectionMap;