限速用户自定义字段参数名称变更,修复误释放ratelimit的空间

This commit is contained in:
liuxueli
2021-08-04 19:25:54 +08:00
parent b862d2490d
commit 34aee7ab31
4 changed files with 6 additions and 5 deletions

View File

@@ -1529,7 +1529,7 @@ static unsigned char tsg_master_all_entry(const struct streaminfo *a_stream, uns
break;
}
ret=is_permit_pass(eth_rawpkt_len, context->bucket, thread_seq);
ret=is_permit_pass(eth_rawpkt_len*8, context->bucket, thread_seq);
if(ret==0)
{
state=APP_STATE_GIVEME|APP_STATE_DROPPKT;