mirror of
https://github.com/curl/curl.git
synced 2025-09-20 02:52:48 +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
|
@ -2174,7 +2174,7 @@ static CURLcode add_parallel_transfers(struct GlobalConfig *global,
|
||||||
|
|
||||||
result = pre_transfer(global, per);
|
result = pre_transfer(global, per);
|
||||||
if(result)
|
if(result)
|
||||||
break;
|
return result;
|
||||||
|
|
||||||
/* parallel connect means that we don't set PIPEWAIT since pipewait
|
/* parallel connect means that we don't set PIPEWAIT since pipewait
|
||||||
will make libcurl prefer multiplexing */
|
will make libcurl prefer multiplexing */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user