change field nio_stage from char to short

pull/37/head
YuQing 2020-09-09 12:26:43 +08:00
parent 488e483d22
commit 6a54076cf5
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ struct fast_task_info
int length; //data length
int offset; //current offset
uint16_t port; //peer port
char nio_stage; //stage for network IO
volatile short nio_stage; //stage for network IO
bool canceled; //if task canceled
int connect_timeout; //for client side
int network_timeout;