Bugfixes HTTP::Downloader, downloadertest now outputs data immediately without buffering
This commit is contained in:
parent
bc3ca638cd
commit
e28743db54
2 changed files with 11 additions and 3 deletions
|
@ -331,7 +331,7 @@ namespace HTTP{
|
|||
}
|
||||
|
||||
// No data? Wait for a second or so.
|
||||
if (!getSocket().spool()){
|
||||
if (!getSocket().spool() && getSocket()){
|
||||
if (progressCallback != 0){
|
||||
if (!progressCallback()){
|
||||
WARN_MSG("Download aborted by callback");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue