增加简单的HTTP协议插件管理层,基本联通HTTP解析层与业务层插件。
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user