new option hb-mode

This commit is contained in:
wangyu-
2017-11-07 01:07:32 -06:00
parent d487ca57f7
commit 50f682daf4
3 changed files with 35 additions and 10 deletions

2
misc.h
View File

@@ -13,7 +13,7 @@
#include "log.h"
#include "network.h"
extern int hb_mode;
const u32_t max_handshake_conn_num=10000;
const u32_t max_ready_conn_num=1000;