Sfoglia il codice sorgente

websocket客户端报错解决

yingzi 1 anno fa
parent
commit
49461ac1ab

+ 0 - 1
Controller/Common/Test.Class.php

@@ -2624,7 +2624,6 @@ ALTER TABLE `www.qianniao.vip`.`qianniao_staff_1` MODIFY COLUMN `userCenterId` i
     public function webstock()
     {
         $swooleServerConfigData = Factory::config()->getAppoint('swooleServer', 'order');
-        var_dump($swooleServerConfigData);
 
         
         

+ 0 - 4
Mall/Framework/Swoole/WebsocketClient.Class.php

@@ -124,9 +124,6 @@ class WebSocketClient
             $this->socket = new \swoole_client($type);
             if ($this->ssl_key_file)
             {
-                var_dump($this->ssl_key_file);
-                var_dump(file_exists($this->ssl_key_file));
-                var_dump(file_exists($this->ssl_cert_file));
                 $this->socket->set(array(
                     'ssl_key_file' => $this->ssl_key_file,
                     'ssl_cert_file' => $this->ssl_cert_file,
@@ -136,7 +133,6 @@ class WebSocketClient
                     'package_body_offset'   => PACKAGE_BODY_OFFSET,       //第几个字节开始计算包内容
                     'package_max_length'    => PACKAGE_MAXLENG,  //协议最大长度*/
                 ));
-                var_dump($this->socket);
             }
         }
         else