aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-11remove_handle: clear expire timers after multi_done()Daniel Stenberg
Since 59041f0, a new timer might be set in multi_done() so the clearing of the timers need to happen afterwards! Reported-by: Max Kellermann Fixes #4575 Closes #4583
2019-11-10test1558: use double slash after file:Marcel Raad
Classic MinGW / MSYS 1 doesn't support `MSYS2_ARG_CONV_EXCL`, so this test unnecessarily failed when using `file:/` instead of `file:///`. Closes https://github.com/curl/curl/pull/4554
2019-11-10pause: avoid updating socket if done was already calledDaniel Stenberg
... avoids unnecesary recursive risk when the transfer is already done. Reported-by: Richard Bowker Fixes #4563 Closes #4574
2019-11-09strerror: Fix an error looking up some Windows error stringsJay Satiro
- Use FORMAT_MESSAGE_IGNORE_INSERTS to ignore format specifiers in Windows error strings. Since we are not in control of the error code we don't know what information may be needed by the error string's format specifiers. Prior to this change Windows API error strings which contain specifiers (think specifiers like similar to printf specifiers) would not be shown. The FormatMessage Windows API call which turns a Windows error code into a string could fail and set error ERROR_INVALID_PARAMETER if that error string contained a format specifier. FormatMessage expects a va_list for the specifiers, unless inserts are ignored in which case no substitution is attempted. Ref: https://devblogs.microsoft.com/oldnewthing/20071128-00/?p=24353
2019-11-09system.h: fix for MCST lcc compilerr-a-sattarov
Fixed build by MCST lcc compiler on MCST Elbrus 2000 architecture and do some code cleanup. e2k (Elbrus 2000) - this is VLIW/EPIC architecture, like Intel Itanium architecture. Ref: https://en.wikipedia.org/wiki/Elbrus_2000 Closes https://github.com/curl/curl/pull/4576
2019-11-08TODO: curl_multi_unblockDaniel Stenberg
Closes #4418
2019-11-08TODO: Run web-platform-tests url testsDaniel Stenberg
Closes #4477
2019-11-08TODO: 1.4 alt-svc sharingDaniel Stenberg
Closes #4476
2019-11-08test1560: require IPv6 for IPv6 aware URL parsingDaniel Stenberg
The URL parser function can't reject a bad IPv6 address properly when curl was built without IPv6 support. Reported-by: Marcel Raad Fixes #4556 Closes #4572
2019-11-08checksrc: repair the copyrightyear checkDaniel Stenberg
- Consider a modified file to be committed this year. - Make the travis CHECKSRC also do COPYRIGHTYEAR scan in examples and includes - Ignore 0 parents when getting latest commit date of file. since in the CI we're dealing with a truncated repo of last 50 commits, the file's most recent commit may not be available. when this happens git log and rev-list show the initial commit (ie first commit not to be truncated) but that's incorrect so ignore it. Ref: https://github.com/curl/curl/pull/4547 Closes https://github.com/curl/curl/pull/4549 Co-authored-by: Jay Satiro
2019-11-08copyrights: fix copyright year rangeDaniel Stenberg
.. because checksrc's copyright year check stopped working. Ref: https://github.com/curl/curl/pull/4547 Closes https://github.com/curl/curl/pull/4549
2019-11-08RELEASE-NOTES: syncedDaniel Stenberg
2019-11-08curlver: bump to 7.67.1Daniel Stenberg
2019-11-08mailmap: fixup Massimiliano FantuzziDaniel Stenberg
2019-11-08scripts/contributors: make committers get included tooDaniel Stenberg
in addition to authors
2019-11-08configure: fix typo in help textMassimiliano Fantuzzi HB9GUS
Closes https://github.com/curl/curl/pull/4570
2019-11-07ntlm: USE_WIN32_CRYPTO check removed to get USE_NTLM2SESSION setChristian Schmitz
Closes #3704
2019-11-06build: fix for CURL_DISABLE_DOHWyatt O'Day
Fixes https://github.com/curl/curl/issues/4565 Closes https://github.com/curl/curl/pull/4566
2019-11-06configure: avoid unportable `==' test(1) operatorLeonardo Taccari
Closes https://github.com/curl/curl/pull/4567
2019-11-05RELEASE-NOTES: syncedDaniel Stenberg
The 7.67.0 release
2019-11-05THANKS: add new names from 7.67.0Daniel Stenberg
2019-11-05configure: only say ipv6 enabled when the variable is setDaniel Stenberg
Previously it could say "IPv6: enabled" at the end of the configure run but the define wasn't set because of a missing getaddrinfo(). Reported-by: Marcel Raad Fixes #4555 Closes #4560
2019-11-02certs/Server-localhost-lastSAN-sv: regenerate with sha256Marcel Raad
All other certificates were regenerated in commit ba782baac30, but this one was missed. Fixes test3001 on modern systems. Closes https://github.com/curl/curl/pull/4551
2019-11-02copyrights: update all copyright notices to 2019 on files changed this yearVilhelm Prytz
Closes #4547
2019-11-02mbedtls: add error message for cert validity starting in the futureBastien Bouclet
Closes #4552
2019-11-01schannel_verify: Fix concurrent openings of CA fileJay Satiro
- Open the CA file using FILE_SHARE_READ mode so that others can read from it as well. Prior to this change our schannel code opened the CA file without sharing which meant concurrent openings (eg an attempt from another thread or process) would fail during the time it was open without sharing, which in curl's case would cause error: "schannel: failed to open CA file". Bug: https://curl.haxx.se/mail/lib-2019-10/0104.html Reported-by: Richard Alcock
2019-10-31gtls: make gnutls_bye() not wait for response on shutdownDaniel Stenberg
... as it can make it wait there for a long time for no good purpose. Patched-by: Jay Satiro Reported-by: Bylon2 on github Adviced-by: Nikos Mavrogiannopoulos Fixes #4487 Closes #4541
2019-10-30appveyor: publish artifacts on appveyorMichał Janiszewski
This allows obtaining upstream builds of curl directly from appveyor for all the available configurations Closes #4509
2019-10-30url: make Curl_close() NULLify the pointer tooDaniel Stenberg
This is the common pattern used in the code and by a unified approach we avoid mistakes. Closes #4534
2019-10-29INSTALL: add missing space for configure commandsTrivikram Kamat
Closes #4539
2019-10-29url: Curl_free_request_state() should also free doh handlesDaniel Stenberg
... or risk DoH memory leaks. Reported-by: Paul Dreik Fixes #4463 Closes #4527
2019-10-29examples: remove the "this exact code has not been verified"Daniel Stenberg
... as really confuses the reader to not know what to believe!
2019-10-29HTTP3: fix typo somehere1 > somewhere1Trivikram Kamat
Closes #4535
2019-10-28HTTP3: fix invalid use of sendto for connected UDP socketJavier Blazquez
On macOS/BSD, trying to call sendto on a connected UDP socket fails with a EISCONN error. Because the singleipconnect has already called connect on the socket when we're trying to use it for QUIC transfers we need to use plain send instead. Fixes #4529 Closes https://github.com/curl/curl/pull/4533
2019-10-28RELEASE-NOTES: syncedDaniel Stenberg
2019-10-28HTTP3: fix Windows buildJavier Blazquez
The ngtcp2 QUIC backend was using the MSG_DONTWAIT flag for send/recv in order to perform nonblocking operations. On Windows this flag does not exist. Instead, the socket must be set to nonblocking mode via ioctlsocket. This change sets the nonblocking flag on UDP sockets used for QUIC on all platforms so the use of MSG_DONTWAIT is not needed. Fixes #4531 Closes #4532
2019-10-27appveyor: add --disable-proxy autotools buildMarcel Raad
This would have caught issue #3926. Also make formatting more consistent. Closes https://github.com/curl/curl/pull/4526
2019-10-25appveyor: make winbuilds with DEBUG=no/yes and VS 2015/2017Daniel Stenberg
... and invoke "curl -V" once done Co-Authored-By: Jay Satiro Closes #4523
2019-10-24schannel: reverse the order of certinfo insertionsFrancois Rivard
Fixes #4518 Closes #4519
2019-10-24test1591: fix spelling of http featureMarcel Raad
The test never got run because the feature name is `http` in lowercase. Closes https://github.com/curl/curl/pull/4520
2019-10-23appveyor: Use two parallel compilation on appveyor with CMakeMichał Janiszewski
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
2019-10-23conn-reuse: requests wanting NTLM can reuse non-NTLM connectionsDaniel Stenberg
Added test case 338 to verify. Reported-by: Daniel Silverstone Fixes #4499 Closes #4514
2019-10-23tests: add missing proxy featuresMarcel Raad
2019-10-22RELEASE-NOTES: syncedDaniel Stenberg
2019-10-21tests: use %FILE_PWD for file:// URLsMarcel Raad
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
2019-10-21tests: add `connect to non-listen` keywordsMarcel Raad
These tests try to connect to ports nothing is listening on. Closes https://github.com/curl/curl/pull/4511
2019-10-20runtests: get textaware info from curl instead of perlMarcel Raad
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
2019-10-20appveyor: Add MSVC ARM64 buildMichał Janiszewski
Closes #4507
2019-10-18http2_recv: a closed stream trumps pause stateDaniel Stenberg
... and thus should return 0, not EAGAIN. Reported-by: Tom van der Woerdt Fixes #4496 Closes #4505
2019-10-18http2: expire a timeout at end of streamDaniel Stenberg
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