diff --git a/Changelist.md b/Changelist.md index 99cfcd8..1f7d127 100644 --- a/Changelist.md +++ b/Changelist.md @@ -3,9 +3,11 @@ ### en - add tarsmerge, can merge mutil tars file to one - fix tars-tools.cmake, support: make xxxx-upload-tars, upload tars to web, for test +- fix when http header has not content-length, tc_http decode bug ### cn - 添加 tarsmerge工具, 支持合并多个tars文件到一个 - 修改tars-tools.cmake, 支持make xxx-upload-tars, 上传本服务的tars文件到web, 方便自动测试 +- 修改当http头没有content-length时的解析bug ## v2.4.7 2020.07.19 ### en diff --git a/util/src/tc_http.cpp b/util/src/tc_http.cpp index ddf91e4..e25aaca 100755 --- a/util/src/tc_http.cpp +++ b/util/src/tc_http.cpp @@ -1281,7 +1281,7 @@ bool TC_HttpResponse::incrementDecode(TC_NetWorkBuffer &buff) setContentLength(_iRecvContentLength); } - return true; + return false; } else {