handle truncated packet

This commit is contained in:
wangyu-
2018-02-20 06:10:18 -06:00
parent 3138b2ca8e
commit 7cb65ec45d
3 changed files with 22 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ struct ip_port_t
typedef u64_t fd64_t;
const int max_data_len=1600;
const int max_data_len=1800;
const int buf_len=max_data_len+400;
u64_t get_current_time();