Downloader::post() timeouts should not keep the socket connected for reuse
This commit is contained in:
parent
0058937772
commit
d47603615f
1 changed files with 1 additions and 0 deletions
|
@ -429,6 +429,7 @@ namespace HTTP{
|
|||
}
|
||||
if (getSocket()){
|
||||
FAIL_MSG("Timeout while retrieving %s", link.getUrl().c_str());
|
||||
getSocket().close();
|
||||
return false;
|
||||
}
|
||||
Util::sleep(500); // wait a bit before retrying
|
||||
|
|
Loading…
Add table
Reference in a new issue