增加简单的HTTP协议插件管理层,基本联通HTTP解析层与业务层插件。

This commit is contained in:
Lu Qiuwen
2018-09-17 15:44:44 +08:00
parent 9fec5c3cc4
commit 48c8d6a659
8 changed files with 439 additions and 212 deletions

View File

@@ -84,8 +84,7 @@ int tfe_stream_preempt(const struct tfe_stream * stream)
{
struct tfe_stream_private * _stream = to_stream_private(stream);
int plug_id = _stream->calling_idx;
int i = 0;
for (i = 0; i < _stream->nr_plugin_ctxs; i++)
for (unsigned int i = 0; i < _stream->nr_plugin_ctxs; i++)
{
if (_stream->plugin_ctxs[i].state == PLUG_STATE_PREEPTION)
{