TSG-15591, TSG-14336: 命中drop after N packet策略时,在N个packet期间插件可以继续处理其他策略

This commit is contained in:
liuxueli
2023-07-04 15:15:27 +08:00
parent 02e880ebd0
commit 3458ef9f79

View File

@@ -912,7 +912,7 @@ static unsigned char tsg_do_deny_action(const struct streaminfo *a_stream, struc
srt_action_context_set_after_n_packet(a_stream, user_region->deny->after_n_packets, a_stream->threadnum);
}
local_state=((type==ACTION_RETURN_TYPE_PROT) ? (STATE_DROPME) : (STATE_DROPME|STATE_KILL_OTHER));
local_state=STATE_GIVEME;
break;
}