修正当HTTP Session被Kill时没有调用HTTP Session End、Stream Close接口的问题。

This commit is contained in:
luqiuwen
2019-08-21 14:53:12 +08:00
parent dbe9fba033
commit a02fe27f17
2 changed files with 10 additions and 1 deletions

View File

@@ -687,6 +687,9 @@ static void __stream_bev_readcb(struct bufferevent * bev, void * arg)
/* Destroy STREAM */
TFE_PROXY_STAT_INCREASE(STAT_STREAM_CLS_KILL, 1);
/* Call plugin close when the connection is killed */
call_plugin_close(_stream);
return tfe_stream_destory(_stream);
}