#45 sendmsg失败时回收unix domain socket
This commit is contained in:
@@ -1488,6 +1488,8 @@ int tcp_repair_process(const struct streaminfo* pstream,const void* a_packet,str
|
||||
if(ret<0)
|
||||
{
|
||||
kni_filestate2_set(0,FS_REPAIR_SEND_ERR,0,2);
|
||||
close(g_kni_comminfo.fd_domain);
|
||||
g_kni_comminfo.fd_domain=-1;
|
||||
g_kni_comminfo.kni_mode_cur=KNI_MODE_BYPASS;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user