refine huge packet log

This commit is contained in:
wangyu 2021-01-16 14:40:03 -05:00
parent af607e4bfa
commit 3375c6ac9d
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ void data_from_local_or_fec_timeout(conn_info_t & conn_info,int is_time_out)
if(data_len==max_data_len+1) if(data_len==max_data_len+1)
{ {
mylog(log_warn,"huge packet, data_len > %d, packet truncated, dropped\n",max_data_len); mylog(log_warn,"huge packet from upper level, data_len > %d, packet truncated, dropped\n",max_data_len);
return ; return ;
} }

View File

@ -93,7 +93,7 @@ void data_from_remote_or_fec_timeout_or_conn_timer(conn_info_t & conn_info,fd64_
if(data_len==max_data_len+1) if(data_len==max_data_len+1)
{ {
mylog(log_warn,"huge packet, data_len > %d, packet truncated, dropped\n",max_data_len); mylog(log_warn,"huge packet from upper level, data_len > %d, packet truncated, dropped\n",max_data_len);
return ; return ;
} }