修正当HTTP Session被Kill时没有调用HTTP Session End、Stream Close接口的问题。
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user