TSG-9326: 增加识别FTP DATA的链接,修复ftp协议下载文件没有命中安全限速策略的问题

This commit is contained in:
liuxueli
2022-02-16 15:04:31 +08:00
parent 45cd96f20f
commit 36121a2e70

View File

@@ -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