multi use: call multi_perform even on select() timeouts

This commit is contained in:
Daniel Stenberg
2010-11-04 11:37:23 +01:00
parent 909e711e74
commit 542318b113
4 changed files with 7 additions and 19 deletions

View File

@@ -180,12 +180,9 @@ fill_buffer(URL_FILE *file,int want,int waittime)
break;
case 0:
break;
default:
/* timeout or readable/writable sockets */
curl_multi_perform(multi_handle, &file->still_running);
break;
/* timeout or readable/writable sockets */
curl_multi_perform(multi_handle, &file->still_running);
break;
}
} while(file->still_running && (file->buffer_pos < want));
return 1;