去除编译警告,修复bug

This commit is contained in:
xia-chu
2021-01-19 16:05:38 +08:00
parent 5d752c89b5
commit f63b2b1863
51 changed files with 113 additions and 107 deletions

View File

@@ -187,7 +187,7 @@ static inline void addHttpListener(){
const HttpBody::Ptr &body) {
//body默认为空
size_t size = 0;
ssize_t size = 0;
if (body && body->remainSize()) {
//有body获取body大小
size = body->remainSize();