1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-03 10:51:49 -05:00
Jay Satiro 711879ca7c tool_operate: don't discard failed parallel transfer result
- Save a parallel transfer's result code only when it fails and the
  transfer is not being retried.

Prior to this change the result code was always set which meant that a
failed result could be erroneously discarded if a different transfer
later had a successful result (CURLE_OK).

Before:

> curl --fail -Z https://httpbin.org/status/404 https://httpbin.org/delay/10
> echo %ERRORLEVEL%
0

After:

> curl --fail -Z https://httpbin.org/status/404 https://httpbin.org/delay/10
> echo %ERRORLEVEL%
22

Closes #xxxx
2021-04-20 01:51:56 -04:00
..
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00