mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
tool_operate: bail out proper on errors for parallel setup
... otherwise for example trying to upload a missing file just causes a loop. Reported-by: BrumBrum on hackerone Closes #6141
This commit is contained in:
parent
3a1e798009
commit
ce8ac2db2b
@ -2174,7 +2174,7 @@ static CURLcode add_parallel_transfers(struct GlobalConfig *global,
|
||||
|
||||
result = pre_transfer(global, per);
|
||||
if(result)
|
||||
break;
|
||||
return result;
|
||||
|
||||
/* parallel connect means that we don't set PIPEWAIT since pipewait
|
||||
will make libcurl prefer multiplexing */
|
||||
|
Loading…
Reference in New Issue
Block a user