yingzi 1 year ago
parent
commit
68a1f6c92b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Mall/Framework/Swoole/WebsocketClient.Class.php

+ 1 - 2
Mall/Framework/Swoole/WebsocketClient.Class.php

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