1.修复chello为空导致访问越界
2.修复twitter字符编码为charset=“utf-8”,原判断可能存在问题 3.修复http2页面替换,由于存在use_half,而无数据域,造成页面卡顿 4.修复http2替换时,由于解码失败,造成页面无法发送
This commit is contained in:
@@ -1412,7 +1412,7 @@ void http_replace(const struct tfe_stream * stream, const struct tfe_http_sessio
|
||||
rewrite_sz = 0;
|
||||
|
||||
if (tfe_http_in_response(events) && in_resp_spec->content_type != NULL
|
||||
&& strcasestr(in_resp_spec->content_type, "charset=utf-8"))
|
||||
&& strcasestr(in_resp_spec->content_type, "utf-8"))
|
||||
{
|
||||
options = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user