#
fe5c2464 |
| 16-Oct-2019 |
Stian Soiland-Reyes |
tool_operate: Fix retry sleep time shown to user when Retry-After - If server header Retry-After is being used for retry sleep time then show that value to the user instead of the norm
tool_operate: Fix retry sleep time shown to user when Retry-After - If server header Retry-After is being used for retry sleep time then show that value to the user instead of the normal retry sleep time. This is a follow-up to 640b973 (7.66.0) which changed curl tool so that the value from Retry-After header overrides other retry timing options. Closes https://github.com/curl/curl/pull/4498
show more ...
|
#
f7f0b001 |
| 04-Oct-2019 |
Stian Soiland-Reyes |
curl: ensure HTTP 429 triggers --retry This completes #3794. Also make sure the new tests from #4195 are enabled Closes #4465
|
#
54c622aa |
| 30-Sep-2019 |
Daniel Stenberg |
tool_operate: rename functions to make more sense
|
#
e59371a4 |
| 23-Sep-2019 |
Daniel Stenberg |
curl: create easy handles on-demand and not ahead of time This should again enable crazy-large download ranges of the style [1-10000000] that otherwise easily ran out of memory starting
curl: create easy handles on-demand and not ahead of time This should again enable crazy-large download ranges of the style [1-10000000] that otherwise easily ran out of memory starting in 7.66.0 when this new handle allocating scheme was introduced. Reported-by: Peter Sumatra Fixes #4393 Closes #4438
show more ...
|
#
f8a20585 |
| 21-Sep-2019 |
Daniel Stenberg |
curl: exit the create_transfers loop on errors When looping around the ranges and given URLs to create transfers, all errors should exit the loop and return. Previously it would keep
curl: exit the create_transfers loop on errors When looping around the ranges and given URLs to create transfers, all errors should exit the loop and return. Previously it would keep looping. Reported-by: SumatraPeter on github Bug: #4393 Closes #4396
show more ...
|
#
a89aeb54 |
| 19-Sep-2019 |
Daniel Stenberg |
tool_operate: removed unused variable 'done' Fixes warning detected by PVS-Studio Fixes #4374
|
#
2d5f76f2 |
| 19-Sep-2019 |
Daniel Stenberg |
tool_operate: Expression 'config->resume_from' is always true Fixes warning detected by PVS-Studio Fixes #4374
|
#
1ca91bcd |
| 11-Sep-2019 |
Kamil Dudka |
curl: fix memory leaked by parse_metalink() This commit fixes a regression introduced by curl-7_65_3-5-gb88940850. Detected by tests 2005, 2008, 2009, 2010, 2011, and 2012 with valgrind
curl: fix memory leaked by parse_metalink() This commit fixes a regression introduced by curl-7_65_3-5-gb88940850. Detected by tests 2005, 2008, 2009, 2010, 2011, and 2012 with valgrind and libmetalink enabled. Closes #4326
show more ...
|
#
bbde0407 |
| 10-Sep-2019 |
Daniel Stenberg |
curl: make sure the parallel transfers do them all The logic could erroneously break the loop too early before all transfers had been transferred. Reported-by: Tom van der Woerd
curl: make sure the parallel transfers do them all The logic could erroneously break the loop too early before all transfers had been transferred. Reported-by: Tom van der Woerdt Fixes #4316 Closes #4317
show more ...
|
#
4a90c5b8 |
| 28-Aug-2019 |
lufia |
curl: fix include conditions
|
#
e5954013 |
| 20-Aug-2019 |
Daniel Stenberg |
cleanup: remove DOT_CHAR completely Follow-up to f9c7ba9096ec The use of DOT_CHAR for ".ssh" was probably a mistake and is removed now. Pointed-out-by: Gisle Vanem
cleanup: remove DOT_CHAR completely Follow-up to f9c7ba9096ec The use of DOT_CHAR for ".ssh" was probably a mistake and is removed now. Pointed-out-by: Gisle Vanem Bug: https://github.com/curl/curl/pull/4230#issuecomment-522960638 Closes #4247
show more ...
|
#
026840e3 |
| 07-Aug-2019 |
Daniel Stenberg |
CURLOPT_HTTP_VERSION: seting this to 3 forces HTTP/3 use directly Even though it cannot fall-back to a lower HTTP version automatically. The safer way to upgrade remains via CURLOPT_ALTS
CURLOPT_HTTP_VERSION: seting this to 3 forces HTTP/3 use directly Even though it cannot fall-back to a lower HTTP version automatically. The safer way to upgrade remains via CURLOPT_ALTSVC. CURLOPT_H3 no longer has any bits that do anything and might be removed before we remove the experimental label. Updated the curl tool accordingly to use "--http3". Closes #4197
show more ...
|
#
640b9733 |
| 06-Aug-2019 |
Daniel Stenberg |
curl: make use of CURLINFO_RETRY_AFTER when retrying If a Retry-After: header was used in the response, that value overrides other retry timing options. Fixes #3794 Closes #
curl: make use of CURLINFO_RETRY_AFTER when retrying If a Retry-After: header was used in the response, that value overrides other retry timing options. Fixes #3794 Closes #4195
show more ...
|
#
d39ae9d4 |
| 06-Aug-2019 |
Daniel Stenberg |
curl: use CURLINFO_PROTOCOL to check for HTTP(s) ... instead of CURLINFO_EFFECTIVE_URL to avoid string operations.
|
#
1e08a792 |
| 19-Apr-2019 |
Steve Holme |
curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool Ref: https://github.com/curl/curl/issues/3653 Ref: https://github.com/curl/curl/pull/3790 NOTE: This com
curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool Ref: https://github.com/curl/curl/issues/3653 Ref: https://github.com/curl/curl/pull/3790 NOTE: This commit was cherry-picked and is part of a series of commits that added the authzid feature for upcoming 7.66.0. The series was temporarily reverted in db8ec1f so that it would not ship in a 7.65.x patch release. Closes https://github.com/curl/curl/pull/4186
show more ...
|
#
02346abc |
| 29-Jul-2019 |
Daniel Stenberg |
curl_multi_poll: a sister to curl_multi_wait() that waits more Repeatedly we see problems where using curl_multi_wait() is difficult or just awkward because if it has no file descriptor
curl_multi_poll: a sister to curl_multi_wait() that waits more Repeatedly we see problems where using curl_multi_wait() is difficult or just awkward because if it has no file descriptor to wait for internally, it returns immediately and leaves it to the caller to wait for a small amount of time in order to avoid occasional busy-looping. This is often missed or misunderstood, leading to underperforming applications. This change introduces curl_multi_poll() as a replacement drop-in function that accepts the exact same set of arguments. This function works identically to curl_multi_wait() - EXCEPT - for the case when there's nothing to wait for internally, as then this function will by itself wait for a "suitable" short time before it returns. This effectiely avoids all risks of busy-looping and should also make it less likely that apps "over-wait". This also changes the curl tool to use this funtion internally when doing parallel transfers and changes curl_easy_perform() to use it internally. Closes #4163
show more ...
|
#
62aa0ba9 |
| 30-Jul-2019 |
Daniel Stenberg |
curl: remove outdated comment Turned bad with commit b8894085000 Reported-by: niallor on github Fixes #4172 Closes #4173
|
#
a2ab5767 |
| 29-Jul-2019 |
Daniel Stenberg |
curl: avoid uncessary libcurl timeouts (in parallel mode) When curl_multi_wait() returns OK without file descriptors to wait for, it might already have done a long timeout. Clos
curl: avoid uncessary libcurl timeouts (in parallel mode) When curl_multi_wait() returns OK without file descriptors to wait for, it might already have done a long timeout. Closes #4159
show more ...
|
#
cdf7d13b |
| 22-Jul-2019 |
Jay Satiro |
tool_operate: fix implicit call to easysrc_cleanup easysrc_cleanup is only defined when CURL_DISABLE_LIBCURL_OPTION is not defined, and prior to this change would be called regardless.
tool_operate: fix implicit call to easysrc_cleanup easysrc_cleanup is only defined when CURL_DISABLE_LIBCURL_OPTION is not defined, and prior to this change would be called regardless. Bug: https://github.com/curl/curl/pull/3804#issuecomment-513922637 Reported-by: Marcel Raad Closes https://github.com/curl/curl/pull/4142
show more ...
|
#
23c99f60 |
| 21-Jul-2019 |
Daniel Stenberg |
curl:create_transfers check return code from curl_easy_setopt From commit b8894085 Pointed out by Coverity CID 1451703 Closes #4134
|
#
3af0e76d |
| 21-Jul-2019 |
Daniel Stenberg |
HTTP3: initial (experimental) support USe configure --with-ngtcp2 or --with-quiche Using either option will enable a HTTP3 build. Co-authored-by: Alessandro Ghedini <alessandro@
HTTP3: initial (experimental) support USe configure --with-ngtcp2 or --with-quiche Using either option will enable a HTTP3 build. Co-authored-by: Alessandro Ghedini <alessandro@ghedini.me> Closes #3500
show more ...
|
#
7644abf8 |
| 21-Jul-2019 |
Daniel Stenberg |
curl: remove dead code The loop never loops (since b889408500), pointed out by Coverity (CID 1451702) Closes #4133
|
#
b8894085 |
| 20-Jul-2019 |
Daniel Stenberg |
curl: support parallel transfers This is done by making sure each individual transfer is first added to a linked list as then they can be performed serially, or at will, in parallel.
curl: support parallel transfers This is done by making sure each individual transfer is first added to a linked list as then they can be performed serially, or at will, in parallel. Closes #3804
show more ...
|
#
92963d61 |
| 24-Jun-2019 |
Koen Dergent |
curl: skip CURLOPT_PROXY_CAPATH for disabled-proxy builds Closes #4061
|
#
b9e0c6d2 |
| 18-Jun-2019 |
Daniel Stenberg |
curl: improved skip-setopt-options when built with disabled features Reduces #ifdefs in src/tool_operate.c Follow-up from 4e86f2fc4e6 Closes #3936
|