fix http line recovery

this fixes the reconnect attempt after a http tcp connection was lost
This commit is contained in:
ac-stef
2016-02-07 17:36:03 +01:00
parent 730b0ed7ee
commit 4da510f51d
+1
View File
@@ -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;