From d3ee8de7545351dabc4ab8b7470f930ec6280226 Mon Sep 17 00:00:00 2001 From: Alexander Holland Date: Wed, 27 Apr 2016 21:07:49 +0200 Subject: [PATCH] fix - HTTPClient connection keep-alive duplicate Headers #4208 (cherry picked from commit 6ad226ac38c16d66d96fa93fef61c4f8a2143ea9) --- core/io/http_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp index 52b97bd8a6f..f8df9edca23 100644 --- a/core/io/http_client.cpp +++ b/core/io/http_client.cpp @@ -301,6 +301,7 @@ Error HTTPClient::poll(){ chunked=false; body_left=0; chunk_left=0; + response_str.clear(); response_headers.clear(); response_num = RESPONSE_OK;