diff --git a/source/src/http.cpp b/source/src/http.cpp index ec1013aa..07fa79eb 100644 --- a/source/src/http.cpp +++ b/source/src/http.cpp @@ -319,6 +319,7 @@ int httpget::get(const char *url1, uint timeout, uint totaltimeout, int range, b again = reconnected = true; reset(2); // only clear response values, not url disconnect(); // but close the socket + retry = false; } if(again) continue; // redirect else break;