Remove disconnect on retry exceed
This commit is contained in:
parent
16dbb7cd6a
commit
f2846b1586
|
@ -605,12 +605,6 @@ SecureSocket::checkResult(int status, int& retry)
|
||||||
break;
|
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()) {
|
if (isFatal()) {
|
||||||
retry = 0;
|
retry = 0;
|
||||||
showError();
|
showError();
|
||||||
|
|
Loading…
Reference in New Issue