Commit 4385db1f authored by 冯超鹏's avatar 冯超鹏

no message

parent 1cf119ae
Pipeline #159 canceled with stages
...@@ -65,10 +65,10 @@ class alarm extends Command ...@@ -65,10 +65,10 @@ class alarm extends Command
'max_request' => 10,//最大连接 'max_request' => 10,//最大连接
'daemonize'=>0,//守护进程 'daemonize'=>0,//守护进程
'ssl_cert_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_public.crt', 'ssl_cert_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_public.crt',
'ssl_key_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com.key', 'ssl_key_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com.key',
'ssl_verify_peer' => true, // 'ssl_verify_peer' => true,
'ssl_allow_self_signed' => true, // 'ssl_allow_self_signed' => true,
'ssl_client_cert_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_chain', // 'ssl_client_cert_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_chain',
)); ));
$this->ws->on('open', function ($ws, $request) { $this->ws->on('open', function ($ws, $request) {
// //链接成功 // //链接成功
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment