fixed epoll dead loop

This commit is contained in:
wangyu
2017-07-31 09:25:59 +08:00
committed by wangyu
parent 2245fbdb54
commit 2fc8149116
3 changed files with 56 additions and 10 deletions

View File

@@ -49,7 +49,7 @@
#include<unordered_map>
using namespace std;
const int max_data_len=65535;
const int max_data_len=800;
const int buf_len=max_data_len+200;
const uint32_t max_handshake_conn_num=10000;
const uint32_t max_ready_conn_num=1000;