mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-01-18 22:09:35 +08:00
refine huge packet log
This commit is contained in:
parent
af607e4bfa
commit
3375c6ac9d
@ -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 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user