summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* url: Curl_free_request_state() should also free doh handlesbagder/doh-memleakDaniel Stenberg2019-10-281-3/+4
| | | | | | | | ... or risk DoH memory leaks. Reported-by: Paul Dreik Fixes #4463 Closes #4527
* appveyor: add --disable-proxy autotools buildMarcel Raad2019-10-271-11/+21
| | | | | | | | This would have caught issue #3926. Also make formatting more consistent. Closes https://github.com/curl/curl/pull/4526
* appveyor: make winbuilds with DEBUG=no/yes and VS 2015/2017Daniel Stenberg2019-10-251-10/+22
| | | | | | | | ... and invoke "curl -V" once done Co-Authored-By: Jay Satiro Closes #4523
* schannel: reverse the order of certinfo insertionsFrancois Rivard2019-10-241-1/+5
| | | | | Fixes #4518 Closes #4519
* test1591: fix spelling of http featureMarcel Raad2019-10-241-1/+1
| | | | | | The test never got run because the feature name is `http` in lowercase. Closes https://github.com/curl/curl/pull/4520
* appveyor: Use two parallel compilation on appveyor with CMakeMichał Janiszewski2019-10-231-1/+1
| | | | | | | | | | | | | | | Appveyor provides 2 CPUs for each builder[1], make sure to use parallel compilation, when running with CMake. CMake learned this new option in version 3.12[2] and the version provided by appveyor is fresh enough. Curl doesn't really take that long to build and it is using the slowest builder available, msbuild, so expect only a moderate improvement in build times. [1] https://www.appveyor.com/docs/build-environment/ [2] https://cmake.org/cmake/help/v3.12/release/3.12.html Closes #4508
* conn-reuse: requests wanting NTLM can reuse non-NTLM connectionsDaniel Stenberg2019-10-233-2/+71
| | | | | | | | Added test case 338 to verify. Reported-by: Daniel Silverstone Fixes #4499 Closes #4514
* tests: add missing proxy featuresMarcel Raad2019-10-232-0/+2
|
* RELEASE-NOTES: syncedDaniel Stenberg2019-10-221-10/+28
|
* tests: use %FILE_PWD for file:// URLsMarcel Raad2019-10-2119-19/+19
| | | | | | | This way, we always have exactly one slash after the host name, making the tests pass when curl is compiled with the MSYS GCC. Closes https://github.com/curl/curl/pull/4512
* tests: add `connect to non-listen` keywordsMarcel Raad2019-10-212-0/+2
| | | | | | These tests try to connect to ports nothing is listening on. Closes https://github.com/curl/curl/pull/4511
* runtests: get textaware info from curl instead of perlMarcel Raad2019-10-201-1/+1
| | | | | | | | | | | The MSYS system on Windows can run the test suite for curl built with any toolset. When built with the MSYS GCC, curl uses Unix line endings, while it uses Windows line endings when built with the MinGW GCC, and `^O` reports 'msys' in both cases. Use the curl executable itself to determine the line endings instead, which reports 'x86_64-pc-msys' when built with the MSYS GCC. Closes https://github.com/curl/curl/pull/4506
* appveyor: Add MSVC ARM64 buildMichał Janiszewski2019-10-201-0/+12
| | | | Closes #4507
* http2_recv: a closed stream trumps pause stateDaniel Stenberg2019-10-181-0/+3
| | | | | | | | ... and thus should return 0, not EAGAIN. Reported-by: Tom van der Woerdt Fixes #4496 Closes #4505
* http2: expire a timeout at end of streamDaniel Stenberg2019-10-181-0/+1
| | | | | | | | To make sure that transfer is being dealt with. Streams without Content-Length need a final read to notice the end-of-stream state. Reported-by: Tom van der Woerdt Fixes #4496
* travis: Add an ARM64 buildDan Fandrich2019-10-181-1/+26
| | | | Test 323 is failing for some reason, so disable it there for now.
* examples/sslbackend: fix -Wchar-subscripts warningMarcel Raad2019-10-181-1/+1
| | | | | | | | | | | | With the `isdigit` implementation that comes with MSYS2, the argument is used as an array subscript, resulting in a -Wchar-subscripts warning. `isdigit`'s behavior is undefined if the argument is negative and not EOF [0]. As done in lib/curl_ctype.h, cast the `char` variable to `unsigned char` to avoid that. [0] https://en.cppreference.com/w/c/string/byte/isdigit Closes https://github.com/curl/curl/pull/4503
* configure: remove all cyassl referencesDaniel Stenberg2019-10-181-71/+13
| | | | | | | | | | In particular, this removes the case where configure would find an old cyall installation rather than a wolfssl one if present. The library is named wolfssl in modern days so there's no real need to keep support for the former. Reported-by: Jacob Barthelmeh Closes #4502
* test1162: disable MSYS2's POSIX path conversionMarcel Raad2019-10-171-0/+4
| | | | | This avoids MSYS2 converting the backslasb in the URL to a slash, causing the test to fail.
* RELEASE-NOTES: syncedDaniel Stenberg2019-10-171-10/+28
|
* 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