TSG-9326: 增加识别FTP DATA的链接,修复ftp协议下载文件没有命中安全限速策略的问题
This commit is contained in:
@@ -1396,6 +1396,13 @@ static int identify_application_protocol(const struct streaminfo *a_stream, stru
|
||||
context->proto=PROTO_FTP;
|
||||
return 1;
|
||||
}
|
||||
|
||||
ret=ftp_data_identify((struct streaminfo *)a_stream);
|
||||
if(ret>0)
|
||||
{
|
||||
context->proto=PROTO_FTP;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
if(g_tsg_para.proto_flag&(1<<PROTO_MAIL)) //mail
|
||||
|
||||
Reference in New Issue
Block a user