mirror of
https://github.com/curl/curl.git
synced 2026-04-16 05:31:40 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue