1.修复chello为空导致访问越界

2.修复twitter字符编码为charset=“utf-8”,原判断可能存在问题
3.修复http2页面替换,由于存在use_half,而无数据域,造成页面卡顿
4.修复http2替换时,由于解码失败,造成页面无法发送
This commit is contained in:
fengweihao
2019-07-21 23:14:31 +08:00
parent e780eeae93
commit 90269816e3
3 changed files with 86 additions and 28 deletions

View File

@@ -266,7 +266,8 @@ void ssl_service_cache_write(struct ssl_service_cache* svc_cache, const struct s
long cli_st_cb_ret=0, svr_st_cb_ret=0;
char hash_key[2048];
size_t hash_key_sz=0;
if(chello->sni==NULL)
if(chello == NULL || chello->sni==NULL)
{
return;
}