Remove disconnect on retry exceed

This commit is contained in:
XinyuHou 2016-09-01 14:50:44 +01:00 committed by Andrew Nelless
parent 16dbb7cd6a
commit f2846b1586
1 changed files with 0 additions and 6 deletions

View File

@ -605,12 +605,6 @@ SecureSocket::checkResult(int status, int& retry)
break;
}
// If the retry max would exceed the allowed, treat it as a fatal error
if (retry > s_maxRetry) {
LOG((CLOG_DEBUG "retry exceeded %f sec", s_maxRetry * s_retryDelay));
isFatal(true);
}
if (isFatal()) {
retry = 0;
showError();