TSG-376 修复Proxy Event Logs中Request Line、Response Line显示为空,Stream Trace Id显示为0

1)修复重定向命中URL+请求头,域名输入错误页面本身重定向失败问题
This commit is contained in:
fengweihao
2019-12-05 19:04:04 +08:00
parent 70da622393
commit 7476f84fa1
3 changed files with 32 additions and 11 deletions

View File

@@ -224,8 +224,9 @@ static int inflate_gzip_read(struct z_stream_st **strm, char **dest, int *outlen
(*strm)->zst.avail_out = CHUNK;
(*strm)->zst.next_out = out;
ret = inflate(&((*strm)->zst), Z_NO_FLUSH);
assert(ret != Z_STREAM_ERROR); /* state not clobbered */
switch (ret) {
case Z_STREAM_ERROR:
ret = Z_STREAM_ERROR;
case Z_NEED_DICT:
ret = Z_DATA_ERROR; /* and fall through */
case Z_DATA_ERROR: