Resending requests even if received FLOOD_WAIT_N, N >= 60.

This will fix the infinite large files downloading, because sometimes
server replies with FLOOD_WAIT_N with N > 300, up to 900.
This commit is contained in:
John Preston
2016-09-07 14:14:24 +03:00
parent ab18fc6478
commit 96a0e1c237
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ namespace {
}
} else {
secs = m.captured(1).toInt();
if (secs >= 60) return false;
// if (secs >= 60) return false;
}
uint64 sendAt = getms(true) + secs * 1000 + 10;
DelayedRequestsList::iterator i = delayedRequests.begin(), e = delayedRequests.end();