summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* multi: Remove 10-year old out-commented codeEmil Engler2020-08-121-13/+0
| | | | | | The code hasn't been touched since 2010-08-18 Closes #5805
* KNOWN_BUGS: A shared connection cache is not thread-safeDaniel Stenberg2020-08-122-4/+13
| | | | | Closes #4915 Closes #5802
* CONTRIBUTE: extend git commit message descriptionDaniel Stenberg2020-08-121-0/+10
| | | | | | In particular how the first line works. Closes #5803
* RELEASE-NOTES: syncedDaniel Stenberg2020-08-111-8/+21
|
* transfer: move retrycount from connect struct to easy handleStefan Yohansson2020-08-102-3/+6
| | | | | | | | | | This flag was applied to the connection struct that is released on retry. These changes move the retry counter into Curl_easy struct that lives across retries and retains the new connection. Reported-by: Cherish98 on github Fixes #5794 Closes #5800
* libssh2: s/ssherr/sftperr/Daniel Stenberg2020-08-101-1/+1
| | | | | | | | | | | The debug output used ssherr instead of sftperr which not only outputs the wrong error code but also casues a warning on Windows. Follow-up to 7370b4e39f1 Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/7370b4e39f1390e701f5b68d910c619151daf72b#r41334700 Closes #5799
* ftp: don't do ssl_shutdown instead of ssl_closeDaniel Stenberg2020-08-102-3/+4
| | | | | | | | | | | | | The shutdown function is for downgrading a connection from TLS to plain, and this is not requested here. Have ssl_close reset the TLS connection state. This partially reverts commit f002c850d98d Reported-by: Rasmus Melchior Jacobsen Reported-by: Denis Goleshchikhin Fixes #5797
* CI/azure: fix test outcome values and use latest API versionMarc Hoersken2020-08-091-6/+6
| | | | | | | This makes sure that tests ignored or skipped are not shown just in the category "Other", but with their correct state. Closes #5796
* CI/azure: show runtime stats to investigate slownessMarc Hoersken2020-08-091-15/+15
| | | | | | Also avoid naming conflict of TFLAGS env and tflags variables. Closes #5776
* TLS naming: fix more Winssl and Darwinssl leftoversDaniel Stenberg2020-08-0821-90/+91
| | | | | | | | | | | | | The CMake option is now called CMAKE_USE_SCHANNEL The winbuild flag is USE_SCHANNEL The CI jobs and build scripts only use the new names and the new name options Tests now require 'Schannel' (when necessary) Closes #5795
* smtp_parse_address: handle blank input string properlyDaniel Stenberg2020-08-071-2/+4
| | | | Closes #5792
* runtests: run the DICT server on a random port numberDaniel Stenberg2020-08-072-46/+25
| | | | | | Removed support for -b (base port number) Closes #5783
* RELEASE-NOTES: syncedDaniel Stenberg2020-08-061-4/+34
|
* runtests: move the TELNET server to a dynamic portDaniel Stenberg2020-08-063-35/+30
| | | | | | | Rename the port variable to TELNETPORT to better match the existing pattern. Closes #5785
* ngtcp2: adapt to error code renameDaniel Stenberg2020-08-051-1/+1
| | | | Closes #5786
* runtests: move the smbserver to use a dynamic port numberDaniel Stenberg2020-08-051-32/+25
| | | | Closes #5782
* runtests: run the http2 tests on a random port numberDaniel Stenberg2020-08-051-16/+23
| | | | Closes #5779
* gtls: survive not being able to get name/issuerDaniel Stenberg2020-08-051-10/+13
| | | | Closes #5778
* runtests: move the gnutls-serv tests to a dynamic portDaniel Stenberg2020-08-051-38/+26
| | | | | | Affects test 320, 321, 322 and 324. Closes #5778
* runtests: support dynamicly base64 encoded sections in testsDaniel Stenberg2020-08-0415-91/+77
| | | | | | | | | | | | | | | | | | This allows us to make test cases to use base64 at run-time and still use and verify information determined at run-time, such as the IMAP test server's port number in test 842. This change makes 12 tests run again that basically never ran since we moved to dynamic port numbers. ftpserver.pl is adjusted to load test instructions and test number from the preprocessed test file. FILEFORMAT.md now documents the new base64 encoding syntax. Reported-by: Marcel Raad Fixes #5761 Closes #5775
* curl.1: add a few missing valid exit codesDaniel Stenberg2020-08-041-0/+10
| | | | | | 93 - 96 can be returned as well. Closes #5777
* TODO: Use multiple parallel transfers for a single downloadDaniel Stenberg2020-08-041-0/+22
| | | | Closes #5774
* TODO: Set the modification date on an uploaded fileDaniel Stenberg2020-08-041-0/+8
| | | | Closes #5768
* CI: Add muse CI configThomas M. DuBuisson2020-08-042-0/+7
| | | | Closes #5772
* travis/script.sh: fix use of `-n' with unquoted envvarThomas M. DuBuisson2020-08-041-1/+1
| | | | | | | | | | | | | | | | | Shellcheck tells us "-n doesn't work with unquoted arguments. quote or use [[ ]]." And testing shows: ``` docker run --rm -it ubuntu bash root@fe85ce156856:/# [ -n $DOES_NOT_EXIST ] && echo "I ran" I ran root@fe85ce156856:/# [ -n "$DOES_NOT_EXIST" ] && echo "I ran" root@fe85ce156856:/# ``` Closes #5773
* h2: repair trailer handlingDaniel Stenberg2020-08-033-10/+31
| | | | | | | | | | | | | The previous h2 trailer fix in 54a2b63 was wrong and caused a regression: it cannot deal with trailers immediately when read since they may be read off the connection by the wrong 'data' owner. This change reverts the logic back to gathering all trailers into a single buffer, like before 54a2b63. Reported-by: Tadej Vengust Fixes #5663 Closes #5769
* windows: disable Unix Sockets for old mingwViktor Szakats2020-08-031-1/+5
| | | | | | | | | | | | | | Classic mingw and 10y+ old versions of mingw-w64 don't ship with Windows headers having the typedef necessary for Unix Sockets support, so try detecting these environments to disable this feature. Ref: https://sourceforge.net/p/mingw-w64/mingw-w64/ci/cf6afc57179a5910621215f8f4037d406892072c/ Reviewed-by: Daniel Stenberg Fixes #5674 Closes #5758
* test1908: treat file as textMarcel Raad2020-08-031-1/+1
| | | | | | Fixes the line endings on Windows. Closes https://github.com/curl/curl/pull/5767
* TrackMemory tests: ignore realloc and free in getenv.cMarcel Raad2020-08-032-0/+4
| | | | | | These are only called for WIN32. Closes https://github.com/curl/curl/pull/5767
* tests/FILEFORMAT.md: mention %HTTP2PORTDaniel Stenberg2020-08-031-0/+1
|
* RELEASE-NOTES: syncedDaniel Stenberg2020-08-031-11/+41
|
* tlsv1.3.d. only for TLS-using connectionsDaniel Stenberg2020-08-021-4/+6
| | | | | | ... and rephrase that "not all" TLS backends support it. Closes #5764
* tls-max.d: this option is only for TLS-using connectionsDaniel Stenberg2020-08-021-0/+3
| | | | | Ref: #5763 Closes #5764
* tool_doswin: Simplify Windows version detectionCameron Cawley2020-08-021-14/+3
| | | | Closes https://github.com/curl/curl/pull/5754
* win32: Add Curl_verify_windows_version() to curlxCameron Cawley2020-08-0213-238/+316
| | | | Closes https://github.com/curl/curl/pull/5754
* runtests.pl: treat LibreSSL and BoringSSL as OpenSSLMarcel Raad2020-08-021-1/+1
| | | | | | | This makes the tests that require the OpenSSL feature also run for those two compatible libraries. Closes https://github.com/curl/curl/pull/5762
* multi: Condition 'extrawait' is always trueDaniel Stenberg2020-08-011-1/+1
| | | | | | | Reported by Codacy. Reviewed-by: Marcel Raad Closes #5759
* openssl: fix build with LibreSSL < 2.9.1Marcel Raad2020-08-011-1/+3
| | | | | | | | | `SSL_CTX_add0_chain_cert` and `SSL_CTX_clear_chain_certs` were introduced in LibreSSL 2.9.1 [0]. [0] https://github.com/libressl-portable/openbsd/commit/0db809ee178457c8170abfae3931d7bd13abf3ef Closes https://github.com/curl/curl/pull/5757
* multi_remove_handle: close unused connect-only connectionsMarc Aldorasi2020-08-012-4/+36
| | | | | | | | | Previously any connect-only connections in a multi handle would be kept alive until the multi handle was closed. Since these connections cannot be re-used, they can be marked for closure when the associated easy handle is removed from the multi handle. Closes #5749
* checksrc: invoke script with -D to find .checksrc properDaniel Stenberg2020-08-012-2/+2
| | | | | | | | | | Without the -D command line option, checksrc.pl won't know which directory to load the ".checksrc" file from when building out of the source tree. Reported-by: Marcel Raad Fixes #5715 Closes #5755
* buildconf: retire ares buildconf invocationCarlo Marcelo Arenas Belón2020-08-011-7/+0
| | | | no longer needed after 4259d2df7dd95637a4b1e3fb174fe5e5aef81069
* buildconf: excempt defunct reference to ACLOCAL_FLAGSCarlo Marcelo Arenas Belón2020-08-011-0/+1
| | | | | | retired with 09f278121e815028adb24d228d8092fc6cb022aa but kept around as the name is generic enough that it might be in use and relied upon from the environment.
* buildconf: avoid array concatenation in die()Carlo Marcelo Arenas Belón2020-08-011-1/+1
| | | | | | | | | reported as error SC2145[1] by shellcheck, but not expected to cause any behavioural differences otherwise. [1] https://github.com/koalaman/shellcheck/wiki/SC2145 Closes #5701
* travis: add ppc64le and s390x buildsDaniel Stenberg2020-07-312-14/+52
| | | | Closes #5752
* connect: remove redundant message about connect failureMarc Hoersken2020-07-311-2/+2
| | | | | | Reviewed-by: Daniel Stenberg Closes #5708
* tests/sshserver.pl: fix compatibility with OpenSSH for WindowsMarc Hoersken2020-07-311-0/+5
| | | | Follow up to #5721
* CI/azure: install libssh2 for use with msys2-based buildsMarc Hoersken2020-07-311-8/+16
| | | | | | | | | This enables building and running the SFTP tests. Unfortunately OpenSSH for Windows does not support SCP (yet). Reviewed-by: Daniel Stenberg Closes #5721
* CI/azure: increase Windows job timeout once againMarc Hoersken2020-07-311-1/+1
| | | | | | | | | Avoid aborted jobs due to performance issues on Azure DevOps. Reviewed-by: Daniel Stenberg Reviewed-by: Jay Satiro Closes #5738
* TODO: Schannel: 'Add option to allow abrupt server closure'Jay Satiro2020-07-301-0/+10
| | | | | | | | | We should offer an option to allow abrupt server closures (server closes SSL transfer without sending a known termination point such as length of transfer or close_notify alert). Abrupt server closures are usually because of misconfigured or very old servers. Closes https://github.com/curl/curl/issues/4427
* url: fix CURLU and location followingJay Satiro2020-07-305-4/+133
| | | | | | | | | | | Prior to this change if the user set a URL handle (CURLOPT_CURLU) it was incorrectly used for the location follow, resulting in infinite requests to the original location. Reported-by: sspiri@users.noreply.github.com Fixes https://github.com/curl/curl/issues/5709 Closes https://github.com/curl/curl/pull/5713