mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
nps auto reconnection
服务端掉线,客户端自动重连.
This commit is contained in:
parent
73f29d4112
commit
d83bb20df1
@ -24,6 +24,7 @@ nps_header() {
|
||||
echo "server_addr=${server_addr}:${server_port}" >>$tmpconf
|
||||
echo "conn_type=${protocol}" >>$tmpconf
|
||||
echo "vkey=${vkey}" >>$tmpconf
|
||||
echo "auto_reconnection=true" >>$tmpconf
|
||||
|
||||
nps_write_bool compress $1
|
||||
nps_write_bool crypt $1
|
||||
|
Loading…
Reference in New Issue
Block a user