.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@7133 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-02 08:51:55 +00:00
parent af71930d67
commit fe4756e9aa
2 changed files with 4 additions and 2 deletions

View file

@ -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) {