在http block中,http response body事件调用tfe_http_session_kill关闭会话。

This commit is contained in:
zhengchao
2018-12-09 21:39:24 +06:00
committed by luqiuwen
parent fd09f249b6
commit 94242de81c
2 changed files with 2 additions and 2 deletions

View File

@@ -884,7 +884,8 @@ static void http_reject(const struct tfe_http_session * session, enum tfe_http_e
}
else
{
//TODO: close http session.
to_write_sess = tfe_http_session_allow_write(session);
tfe_http_session_kill(to_write_sess);
}
return;
}