修复redirect命中RespBody后,修改action状态,不发送日志
修复pcre2_substitute失败后,页面无法显示
This commit is contained in:
@@ -1516,6 +1516,7 @@ static void http_redirect(const struct tfe_http_session * session, enum tfe_http
|
||||
if ((events & EV_HTTP_RESP_BODY_BEGIN) || (events & EV_HTTP_RESP_BODY_CONT)
|
||||
|| (events & EV_HTTP_RESP_BODY_END) || (events & EV_HTTP_RESP_END))
|
||||
{
|
||||
ctx->action = PG_ACTION_NONE;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -227,7 +227,7 @@ not_enough_mem_retry:
|
||||
if(rc<=0)
|
||||
{
|
||||
free(out_buffer);
|
||||
outlen=rc;
|
||||
outlen=0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user