nps auto reconnection

服务端掉线,客户端自动重连.
This commit is contained in:
杰哥 2019-12-23 22:47:42 +08:00 committed by coolsnowwolf
parent 73f29d4112
commit d83bb20df1

View File

@ -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