Fix a bug of HttpResponseImpl

This commit is contained in:
antao 2018-11-15 19:42:25 +08:00
parent 73507a6375
commit 38f61de9fa

View File

@ -230,6 +230,7 @@ class HttpResponseImpl : public HttpResponse
_bodyPtr.reset(new std::string());
_left_body_length = 0;
_current_chunk_length = 0;
_jsonPtr.reset();
}
virtual void setExpiredTime(ssize_t expiredTime) override