From 741b197f31e05d615950a0e0650db231bfc138dd Mon Sep 17 00:00:00 2001 From: alexliyu7352 Date: Sun, 9 Jan 2022 14:32:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D302=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E6=97=B6,=20=E5=A6=82=E6=9E=9C=E8=B7=A8=E5=9F=9F,header?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98=20(#1349?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Http/HttpClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Http/HttpClient.cpp b/src/Http/HttpClient.cpp index e4829429..5f492fa7 100644 --- a/src/Http/HttpClient.cpp +++ b/src/Http/HttpClient.cpp @@ -104,6 +104,7 @@ void HttpClient::clearResponse() { _recved_body_size = 0; _total_body_size = 0; _parser.Clear(); + _header.clear(); _chunked_splitter = nullptr; _recv_timeout_ticker.resetTime(); _total_timeout_ticker.resetTime();