Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
laravelzh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冯超鹏
laravelzh
Commits
f2f67a2d
Commit
f2f67a2d
authored
Dec 02, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新wss
parent
a05ea255
Pipeline
#171
failed with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
17 deletions
+2
-17
alarm.php
app/Console/Commands/alarm.php
+1
-4
chemicalswb.php
app/Console/Commands/chemicalswb.php
+0
-3
firewb.php
app/Console/Commands/firewb.php
+0
-3
swoole.php
app/Console/Commands/swoole.php
+0
-3
swooleMeTcp.php
app/Console/Commands/swooleMeTcp.php
+1
-4
No files found.
app/Console/Commands/alarm.php
View file @
f2f67a2d
...
...
@@ -65,10 +65,7 @@ class alarm extends Command
'max_request'
=>
10
,
//最大连接
'daemonize'
=>
0
,
//守护进程
'ssl_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_public.crt'
,
'ssl_key_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_chain.crt'
,
'ssl_key_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com.key'
,
));
$this
->
ws
->
on
(
'open'
,
function
(
$ws
,
$request
)
{
// //链接成功
...
...
app/Console/Commands/chemicalswb.php
View file @
f2f67a2d
...
...
@@ -66,9 +66,6 @@ class chemicalswb extends Command
'daemonize'
=>
0
,
//守护进程
'ssl_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_public.crt'
,
'ssl_key_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_chain.crt'
,
));
$this
->
ws
->
on
(
'open'
,
function
(
$ws
,
$request
)
{
// //链接成功
...
...
app/Console/Commands/firewb.php
View file @
f2f67a2d
...
...
@@ -66,9 +66,6 @@ class firewb extends Command
'daemonize'
=>
0
,
//守护进程
'ssl_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_public.crt'
,
'ssl_key_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_chain.crt'
,
));
$this
->
ws
->
on
(
'open'
,
function
(
$ws
,
$request
)
{
// //链接成功
...
...
app/Console/Commands/swoole.php
View file @
f2f67a2d
...
...
@@ -66,9 +66,6 @@ class swoole extends Command
'daemonize'
=>
0
,
//守护进程
'ssl_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_public.crt'
,
'ssl_key_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_chain.crt'
,
));
$this
->
ws
->
on
(
'open'
,
function
(
$ws
,
$request
)
{
// //链接成功
...
...
app/Console/Commands/swooleMeTcp.php
View file @
f2f67a2d
...
...
@@ -68,10 +68,7 @@ class swooleMeTcp extends Command
'heartbeat_check_interval'
=>
30
,
'heartbeat_idle_time'
=>
65
,
'ssl_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_public.crt'
,
'ssl_key_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com_chain.crt'
,
'ssl_key_file'
=>
base_path
()
.
'/cert/apache/iot.zhkjgf.com.key'
,
]);
//监听连接进入事件
$this
->
tcp
->
on
(
'Connect'
,
function
(
$serv
,
$fd
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment