From 4da510f51dd859a5e175110210a0e9fd6202b5a3 Mon Sep 17 00:00:00 2001 From: ac-stef Date: Sun, 7 Feb 2016 17:36:03 +0100 Subject: [PATCH] fix http line recovery this fixes the reconnect attempt after a http tcp connection was lost --- source/src/http.cpp | 1 + 1 file changed, 1 insertion(+) 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;