summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* curl: add --parallel-connectbagder/parallel-connectDaniel Stenberg2019-10-176-1/+22
| | | | | | | | | | | | | | Starting with this change when doing parallel transfers, without this option set, curl will prefer to create new transfers multiplexed on an existing connection rather than creating a brand new one. --parallel-connect can be set to tell curl to prefer to use new connections rather than to wait and try to multiplex. libcurl-wise, this means that curl will set CURLOPT_PIPEWAIT by default on parallel transfers. Suggested-by: Tom van der Woerdt
* CURLOPT_TIMEOUT.3: Clarify transfer timeout time includes queue timeJay Satiro2019-10-161-5/+6
| | | | | | | | | | | | Prior to this change some users did not understand that the "request" starts when the handle is added to the multi handle, or probably they did not understand that some of those transfers may be queued and that time is included in timeout. Reported-by: Jeroen Ooms Fixes https://github.com/curl/curl/issues/4486 Closes https://github.com/curl/curl/pull/4489
* tool_operate: Fix retry sleep time shown to user when Retry-AfterStian Soiland-Reyes2019-10-161-1/+1
| | | | | | | | | | - 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
* url: normalize CURLINFO_EFFECTIVE_URLDaniel Stenberg2019-10-165-2/+123
| | | | | | | | | | | | | | | | The URL extracted with CURLINFO_EFFECTIVE_URL was returned as given as input in most cases, which made it not get a scheme prefixed like before if the URL was given without one, and it didn't remove dotdot sequences etc. Added test case 1907 to verify that this now works as intended and as before 7.62.0. Regression introduced in 7.62.0 Reported-by: Christophe Dervieux Fixes #4491 Closes #4493
* tests: line ending fixes for WindowsMarcel Raad2019-10-1619-19/+19
| | | | | | Mark some files as text. Closes https://github.com/curl/curl/pull/4490
* tests: use proxy featureMarcel Raad2019-10-15133-5/+287
| | | | | | This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
* smbserver: fix Python 3 compatibilityMarcel Raad2019-10-131-2/+5
| | | | | | Python 2's `ConfigParser` module is spelled `configparser` in Python 3. Closes https://github.com/curl/curl/pull/4484
* security: silence conversion warningMarcel Raad2019-10-131-1/+1
| | | | | | | | With MinGW-w64, `curl_socket_t` is is a 32 or 64 bit unsigned integer, while `read` expects a 32 bit signed integer. Use `sread` instead of `read` to use the correct parameter type. Closes https://github.com/curl/curl/pull/4483
* connect: silence sign-compare warningMarcel Raad2019-10-131-1/+1
| | | | | | | With MinGW-w64 using WinSock, `curl_socklen_t` is signed, while the result of `sizeof` is unsigned. Closes https://github.com/curl/curl/pull/4483
* TODO: Handle growing SFTP filesDaniel Stenberg2019-10-131-0/+11
| | | | Closes #4344
* KNOWN_BUGS: remove "CURLFORM_CONTENTLEN in an array"Daniel Stenberg2019-10-131-10/+0
| | | | | The curl_formadd() function is deprecated and shouldn't be used so the real fix for applications is to switch to the curl_mime_* API.
* KNOWN_BUGS: "LDAP on Windows does authentication wrong"Daniel Stenberg2019-10-121-0/+4
| | | | Closes #3116
* appveyor: add a winbuild that uses VS2017Daniel Stenberg2019-10-121-1/+12
| | | | Closes #4482
* socketpair: fix include and define for older TCP header systemsHarry Sintonen2019-10-101-0/+6
| | | | | | | fixed build for systems that need netinet/in.h for IPPROTO_TCP and are missing INADDR_LOOPBACK Closes #4480
* socketpair: fix double-close in error caseDaniel Stenberg2019-10-101-2/+2
| | | | Follow-up to bc2dbef0afc08
* gskit: use the generic Curl_socketpairDaniel Stenberg2019-10-101-95/+3
|
* asyn-thread: make use of Curl_socketpair() where availableDaniel Stenberg2019-10-101-12/+14
|
* socketpair: an implemention for Windows and moreDaniel Stenberg2019-10-103-2/+150
| | | | | | | Curl_socketpair() is designed to be used and work everywhere if there's no native version or the native version isn't good enough. Closes #4466
* RELEASE-NOTES: syncedDaniel Stenberg2019-10-091-14/+32
|
* connect: return CURLE_OPERATION_TIMEDOUT for errno == ETIMEDOUTDaniel Stenberg2019-10-091-0/+8
| | | | | | | | | | | Previosly all connect() failures would return CURLE_COULDNT_CONNECT, no matter what errno said. This makes for example --retry work on these transfer failures. Reported-by: Nathaniel J. Smith Fixes #4461 Clsoes #4462
* cirrus: switch off blackhole status on the freebsd CI machinesDaniel Stenberg2019-10-091-0/+4
|
* tests: use port 2 instead of 60000 for a safer non-listening portDaniel Stenberg2019-10-093-3/+3
| | | | ... when the tests want "connection refused".
* KNOWN_BUGS: IDN tests failing on WindowsDaniel Stenberg2019-10-091-0/+8
| | | | Closes #3747
* cirrus: Increase the git clone depth.Dan Fandrich2019-10-091-1/+1
| | | | | | | If more commits are submitted to master between the time of triggering the first Cirrus build and the time the final build gets started, the desired commit is no longer at HEAD and the build will error out. [skip ci]
* docs: make sure the --no-progress-meter docs file is in dist tooDaniel Stenberg2019-10-091-1/+2
|
* docs: document it as --no-progress-meter instead of the reverseDaniel Stenberg2019-10-094-11/+15
| | | | | | | | Follow-up to 93373a960c3bb4 Reported-by: infinnovation-dev on github Fixes #4474 Closes #4475
* cirrus: Switch the FreeBSD 11.x build to 11.3 and add a 13.0 build.Dan Fandrich2019-10-091-6/+13
| | | | | | Also, select the images using image_family to get the latest snapshots automatically. [skip ci]
* curl: --no-progress-meterDaniel Stenberg2019-10-083-5/+21
| | | | | | | | | New option that allows a user to ONLY switch off curl's progress meter and leave everything else in "talkative" mode. Reported-by: Piotr Komborski Fixes #4422 Closes #4470
* TODO: Consult %APPDATA% also for .netrcDaniel Stenberg2019-10-081-0/+7
| | | | Closes #4016
* CURLOPT_TIMEOUT.3: remove the mention of "minutes"Daniel Stenberg2019-10-071-4/+4
| | | | | | | | | ... just say that limiting operations risk aborting otherwise fine working transfers. If that means seconds, minutes or hours, we leave to the user. Reported-by: Martin Gartner Closes #4469
* docs: added multi-event.c exampleAndrei Valeriu BICA2019-10-072-1/+241
| | | | | | | Similar to multi-uv.c but using libevent 2. This is a simpler libevent integration example then hiperfifo.c. Closes #4471
* ldap: fix OOM error on missing query stringNicolas2019-10-051-8/+10
| | | | | | | | | | | | | | | | | | - Allow missing queries, don't return NO_MEMORY error in such a case. It is acceptable for there to be no specified query string, for example: curl ldap://ldap.forumsys.com A regression bug in 1b443a7 caused this issue. This is a partial fix for #4261. Bug: https://github.com/curl/curl/issues/4261#issuecomment-525543077 Reported-by: Jojojov@users.noreply.github.com Analyzed-by: Samuel Surtees Closes https://github.com/curl/curl/pull/4467
* build: Remove unused HAVE_LIBSSL and HAVE_LIBCRYPTO definesPaul B. Omta2019-10-0511-33/+0
| | | | Closes https://github.com/curl/curl/pull/4460
* RELEASE-NOTES: syncedDaniel Stenberg2019-10-051-9/+25
|
* curl: ensure HTTP 429 triggers --retryStian Soiland-Reyes2019-10-053-2/+3
| | | | | | | | This completes #3794. Also make sure the new tests from #4195 are enabled Closes #4465
* winbuild: add ENABLE_UNICODE optionapique2019-10-042-0/+14
| | | | | Fixes https://github.com/curl/curl/issues/4308 Closes https://github.com/curl/curl/pull/4309
* ngtcp2: adapt to API changeDaniel Stenberg2019-10-041-7/+7
| | | | Closes #4457
* cookies: change argument type for Curl_flush_cookiesDaniel Stenberg2019-10-034-4/+4
| | | | | | | The second argument is really a 'bool' so use that and pass in TRUE/FALSE to make it clear. Closes #4455
* http2: move state-init from creation to pre-transferDaniel Stenberg2019-10-033-2/+2
| | | | | | | | | | | To make sure that the HTTP/2 state is initialized correctly for duplicated handles. It would otherwise easily generate "spurious" PRIORITY frames to get sent over HTTP/2 connections when duplicated easy handles were used. Reported-by: Daniel Silverstone Fixes #4303 Closes #4442
* urlapi: fix use-after-free bugDaniel Stenberg2019-10-033-36/+116
| | | | | | | | | | | Follow-up from 2c20109a9b5d04 Added test 663 to verify. Reported by OSS-Fuzz Bug: https://crbug.com/oss-fuzz/17954 Closes #4453
* cookie: avoid harmless use after freePaul Dreik2019-10-031-0/+1
| | | | | | | | | | | | | | | | | | | | | This fix removes a use after free which can be triggered by the internal cookie fuzzer, but otherwise is probably impossible to trigger from an ordinary application. The following program reproduces it: curl_global_init(CURL_GLOBAL_DEFAULT); CURL* handle=curl_easy_init(); CookieInfo* info=Curl_cookie_init(handle,NULL,NULL,false); curl_easy_setopt(handle, CURLOPT_COOKIEJAR, "/dev/null"); Curl_flush_cookies(handle, true); Curl_cookie_cleanup(info); curl_easy_cleanup(handle); curl_global_cleanup(); This was found through fuzzing. Closes #4454
* docs: add note on failed handles not being counted by curl_multi_performDenis Chaplygin2019-10-032-2/+3
| | | | Closes #4446
* CURLMOPT_MAX_CONCURRENT_STREAMS.3: fix SEE ALSO typoDaniel Stenberg2019-10-031-1/+1
|
* ESNI: initial build/setupNiall2019-10-028-1/+220
| | | | Closes #4011
* RELEASE-NOTES: syncedDaniel Stenberg2019-10-021-5/+34
|
* redirect: when following redirects to an absolute URL, URL encode itDaniel Stenberg2019-10-023-1/+78
| | | | | | | | ... to make it handle for example (RFC violating) embeded spaces. Reported-by: momala454 on github Fixes #4445 Closes #4447
* urlapi: fix URL encoding when setting a full URLDaniel Stenberg2019-10-021-1/+16
|
* tool_operate: rename functions to make more senseDaniel Stenberg2019-10-021-32/+35
|
* curl: create easy handles on-demand and not ahead of timeDaniel Stenberg2019-10-027-220/+309
| | | | | | | | | | 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
* CURLMOPT_MAX_CONCURRENT_STREAMS: new setoptKunal Ekawde2019-10-0210-6/+97
| | | | Closes #4410