mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7133 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
af71930d67
commit
fe4756e9aa
2 changed files with 4 additions and 2 deletions
|
|
@ -370,7 +370,7 @@ bool HttpRequest::Do()
|
|||
NEVER();
|
||||
}
|
||||
|
||||
if(phase != FAILED)
|
||||
if(phase != FAILED) {
|
||||
if(IsSocketError() || IsError())
|
||||
phase = FAILED;
|
||||
else
|
||||
|
|
@ -383,6 +383,7 @@ bool HttpRequest::Do()
|
|||
HttpError("connection was aborted");
|
||||
phase = FAILED;
|
||||
}
|
||||
}
|
||||
|
||||
if(phase == FAILED) {
|
||||
if(retry_count++ < max_retries) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue