소스 검색

fix - HTTPClient connection keep-alive duplicate Headers #4208

Alexander Holland 9 년 전
부모
커밋
6ad226ac38
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/io/http_client.cpp

+ 1 - 0
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;