summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-04-27 23:39:38 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-04-27 23:39:38 +0200
commit5141574422eaa5c264baac2a29b4f8a63f4a9a9b (patch)
tree77a4580285db78609a2a1c214c146cce77c6fa3e /core
parent49e560bfb6f67892604996c4f94aa4c39b83e884 (diff)
parent6ad226ac38c16d66d96fa93fef61c4f8a2143ea9 (diff)
Merge pull request #4463 from AlexHolly/http-fix-duplicate-header
fix - HTTPClient connection keep-alive duplicate Headers #4208
Diffstat (limited to 'core')
-rw-r--r--core/io/http_client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp
index 8c58e0ba5e..d7098b4c43 100644
--- a/core/io/http_client.cpp
+++ b/core/io/http_client.cpp
@@ -303,6 +303,7 @@ Error HTTPClient::poll(){
chunked=false;
body_left=0;
chunk_left=0;
+ response_str.clear();
response_headers.clear();
response_num = RESPONSE_OK;