* 增加插入js接口,源数据为空判断

* 删除http2解压缩失败后,主动发送数据函数
This commit is contained in:
fengweihao
2019-09-26 19:33:41 +08:00
committed by 冯伟浩
parent 8d29fe5cbc
commit e94a8bbed4
2 changed files with 5 additions and 46 deletions

View File

@@ -323,7 +323,7 @@ size_t insert_string(char * in, size_t in_sz, const char *insert_on, const char
char* insert_from=NULL;
size_t offset=0;
if (script == NULL)
if (script == NULL || in == NULL)
{
return 0;
}