mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
trival
This commit is contained in:
parent
d250528d29
commit
1c831f2911
6
main.cpp
6
main.cpp
@ -1664,6 +1664,12 @@ int server_on_raw_recv_multi() //called when server received an raw packet
|
|||||||
//mylog(log_info,"after recv_safer\n");
|
//mylog(log_info,"after recv_safer\n");
|
||||||
return server_on_raw_recv_ready(conn_info,ip_port,type,data,data_len);
|
return server_on_raw_recv_ready(conn_info,ip_port,type,data,data_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(conn_info.state.server_current_state==server_idle)
|
||||||
|
{
|
||||||
|
recv(raw_recv_fd, 0,0, 0 );//
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
mylog(log_fatal,"we should never run to here\n");
|
mylog(log_fatal,"we should never run to here\n");
|
||||||
myexit(-1);
|
myexit(-1);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user