summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* misc: remove watcom referencesbagder/rm-watcomDaniel Stenberg2022-01-169-117/+21
| | | | | | | Follow-up to bbf8cae44dedc495e6 We removed support for the watcom builds files back in September 2020. This removes all remaining watcom references and ifdefs.
* curl: remove "separators" (when using globbed URLs)Daniel Stenberg2022-01-154-32/+1
| | | | | | | | | | | | Unless muted (with -s) When doing globbing, curl would output mime-like separators between the separate transfers. This is not documented anywhere, surprises users and clobbers the output. Gone now. Updated test 18 and 1235 Reported-by: jonny112 on github Bug: https://github.com/curl/curl/discussions/8257 Closes #8278
* mbedtls: fix CURLOPT_SSLCERT_BLOB (again)Niels Martignène2022-01-152-5/+6
| | | | | | | | | | | | | | - Increase the buffer length passed to mbedtls_x509_crt_parse to account for the null byte appended to the temporary blob. Follow-up to 867ad1c which uses a null terminated copy of the certificate blob, because mbedtls_x509_crt_parse requires PEM data to be null terminated. Ref: https://github.com/curl/curl/commit/867ad1c#r63439893 Ref: https://github.com/curl/curl/pull/8146 Closes https://github.com/curl/curl/pull/8260
* quiche: verify the server cert on connectAlessandro Ghedini2022-01-152-15/+109
| | | | | | | | Similarly to c148f0f551f9bea0e3d0, make quiche correctly acknowledge `CURLOPT_SSL_VERIFYPEER` and `CURLOPT_SSL_VERIFYHOST`. Fixes #8173 Closes #8275
* checksrc: fix typo in commentIkko Ashimine2022-01-151-1/+1
| | | | | | enfore -> enforce Closes #8281
* curl-openssl: remove the OpenSSL headers and library versions checkDaniel Stenberg2022-01-151-280/+1
| | | | | | | | | It is more work to maintain that check than the (any?) benefit it brings. Fixes #8279 Reported-by: Satadru Pramanik Closes #8280
* mqtt: free any leftover when doneDaniel Stenberg2022-01-131-2/+14
| | | | | | | | Oss-fuzz found an issue when the "sendleftovers" pointer could leak memory. Fix this by always freeing it (if still assigned) in the done function. Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43515 Closes #8274
* formdata: avoid size_t => long typecast overflowsDaniel Stenberg2022-01-131-2/+7
| | | | | | | | Typically a problem for platforms with 32 bit long and 64 bit size_t Reported-by: Fabian Yamaguchi Bug: https://hackerone.com/reports/1444539 Closes #8272
* RELEASE-NOTES: syncedDaniel Stenberg2022-01-132-11/+39
| | | | bump next release to become 7.82.0
* build: enable -Warith-conversionMarcel Raad2022-01-132-1/+2
| | | | | | This makes the behavior consistent between GCC 10 and earlier versions. Closes https://github.com/curl/curl/pull/8271
* build: fix -Wenum-conversion handlingMarcel Raad2022-01-132-5/+6
| | | | | | | Don't enable that warning when warnings are disabled. Also add it to CMake. Closes https://github.com/curl/curl/pull/8271
* appveyor: use VS 2017 image for the autotools buildsMarcel Raad2022-01-121-3/+3
| | | | | | | The newer images don't have all required MSYS2 packages. Fixes https://github.com/curl/curl/issues/8248 Closes https://github.com/curl/curl/pull/8265
* appveyor: update images from VS 2019 to 2022Marcel Raad2022-01-121-11/+11
| | | | Closes https://github.com/curl/curl/pull/8265
* mbedtls: return CURLcode result instead of a mbedtls error codeMAntoniak2022-01-121-1/+1
| | | | | | ... when a certificate fails to be loaded from a blob Closes #8266
* curl_multi_socket.3: remove callback and typical usage descriptionsDaniel Stenberg2022-01-121-63/+1
| | | | | | | | | | | 1. The callback is better described in the option for setting it. Having it in a single place reduces the risk that one of them is wrong. 2. The "typical usage" is wrong since the functions described in this man page are both deprecated so they cannot be used in any "typical" way anymore. Closes #8262
* curl-functions.m4: revert DYLD_LIBRARY_PATH tricks in CURL_RUN_IFELSEDaniel Stenberg2022-01-121-5/+1
| | | | | | | | | | Mostly reverts ba0657c343f, but now instead just run the plain macro on darwin. The approach as used on other platforms is simply not necessary on macOS. Fixes #8229 Reported-by: Ryan Schmidt Closes #8247
* openldap: implement SASL authenticationPatrick Monnerat2022-01-118-35/+332
| | | | | | | | | | | As credentials can be quite different depending on the mechanism used, there are no default mechanisms for LDAP and simple bind with a DN is then used. The caller has to provide mechanism(s) using CURLOPT_LOGIN_OPTIONS to enable SASL authentication and disable simple bind. Closes #8152
* CURLOPT_RESOLVE.3: change example port to 443Cameron Will2022-01-101-1/+1
| | | | | | | | 83cc966 changed documentation from using http to https. However, CURLOPT_RESOLVE being set to port 80 in the documentation means that it isn't valid for the new URL. Update to 443. Closes https://github.com/curl/curl/pull/8258
* test374: gif data without new line at the endFabian Keil2022-01-102-1/+50
| | | | Closes #8239
* runtests.pl: support the nonewline attribute for the data partFabian Keil2022-01-103-2/+21
| | | | | | Added to FILEFORMAT Closes #8239
* curl tool: erase some more sensitive command line argumentsPatrick Monnerat2022-01-101-13/+22
| | | | | | | | | | As the ps command may reveal sensitive command line info, obfuscate options --tlsuser, --tlspasswd, --proxy-tlsuser, --proxy-tlspassword and --oauth2-bearer arguments. Reported-by: Stephen Boost <s.booth@epcc.ed.ac.uk> Closes #7964
* mesalink: remove supportDaniel Stenberg2022-01-1016-894/+13
| | | | | | | | | Mesalink has ceased development. We can no longer encourage use of it. It seems to be continued under the name TabbySSL, but no attempts have (yet) been to make curl support it. Fixes #8188 Closes #8191
* ldap: return CURLE_URL_MALFORMAT for bad URLDaniel Stenberg2022-01-106-15/+12
| | | | | | | | For consistency, use the same return code for URL malformats, independently of what scheme that is used. Previously this would return CURLE_LDAP_INVALID_URL, but starting now that error cannot be returned. Closes #8170
* docs/cmdline-opts: add "mutexed" options for more http versionsDaniel Stenberg2022-01-104-5/+5
| | | | | | Update four http version man page sections. Closes #8254
* rustls: add CURLOPT_CAINFO_BLOB supportStephen M. Coakley2022-01-103-5/+33
| | | | | | | | | | | | | | | Add support for `CURLOPT_CAINFO_BLOB` `CURLOPT_PROXY_CAINFO_BLOB` to the rustls TLS backend. Multiple certificates in a single PEM string are supported just like OpenSSL does with this option. This is compatible at least with rustls-ffi 0.8+ which is our new minimum version anyway. I was able to build and run this on Windows, pulling trusted certs from the system and then add them to rustls by setting `CURLOPT_CAINFO_BLOB`. Handy! Closes #8255
* scripts/copyright.pl: ignore missing filesDaniel Stenberg2022-01-091-5/+9
|
* RELEASE-NOTES: syncedDaniel Stenberg2022-01-091-5/+34
|
* data/DISABLED: disable test 313 for wolfssl buildsDaniel Stenberg2022-01-091-0/+4
| | | | | | It was previously disabled only in the CI jobs yaml Closes #8252
* runtests: make 'wolfssl' a testable featureDaniel Stenberg2022-01-092-0/+2
| | | | Closes #8252
* GHA: install stunnel in the medbtls + wolfssl CI jobsDaniel Stenberg2022-01-092-2/+2
| | | | Closes #8252
* CI: move the rustls CI job to GHA from ZuulDaniel Stenberg2022-01-094-35/+50
| | | | Closes #8251
* DISABLE: disable a dozen tests in the rustls buildDaniel Stenberg2022-01-091-0/+15
| | | | | | | Disables tests that don't yet work with the rustls backend. Fixes #8004 Closes #8250
* runtests: make 'rustls' a testable featureDaniel Stenberg2022-01-092-0/+6
|
* remote-header-name.d: clarifyDaniel Stenberg2022-01-091-2/+7
| | | | | | | | - it strips off the path from the server provided name - it saves in current directory or --output-dir Ref: https://curl.se/mail/archive-2022-01/0032.html Closes #8249
* url: given a user in the URL, find pwd for that user in netrcDaniel Stenberg2022-01-096-36/+179
| | | | | | | | Add test 380 and 381 to verify, edited test 133 Reported-by: Manfred Schwarb Fixes #8241 Closes #8243
* mbedtls: Fix ssl_init error with mbedTLS 3.1.0+Niels Martignène2022-01-091-6/+6
| | | | | | | | | | Since mbedTLS 3.1.0, mbedtls_ssl_setup() fails if the provided config struct is not valid. mbedtls_ssl_config_defaults() needs to be called before the config struct is passed to mbedtls_ssl_setup(). Closes #8238
* cmake: fix iOS CMake project generation errorFilip Lundgren2022-01-081-3/+3
| | | | Closes #8244
* ngtcp2: fix declaration of ‘result’ shadows a previous localDaniel Stenberg2022-01-081-1/+0
| | | | | | Follow-up to 8fbd6feddfa587cfd3 Closes #8245
* openssl.h: avoid including OpenSSL headers hereDaniel Stenberg2022-01-081-3/+9
| | | | | | | | | ... by instead using the struct version of the typedef'ed pointer. To fix build errors when both Schannel and OpenSSL are enabled. Fixes #8240 Reported-by: Jan Ehrhardt Closes #8246
* curl_url_set.3: mention when CURLU_ALLOW_SPACE was addedDaniel Stenberg2022-01-081-2/+2
|
* tool_findfile: free mem properlyDaniel Stenberg2022-01-071-1/+3
| | | | | | Follow-up to 764e4f066d5 Closes #8242
* tool_findfile: check ~/.config/curlrc tooDaniel Stenberg2022-01-075-21/+99
| | | | | | | | | | | ... after the initial checks for .curlrc and if XDG_CONFIG_HOME is not set, use $HOME and $CURL_HOME to check if ~/.config/curlrc is present. Add test 436 to verify Reported-by: Sandro Jaeckel Fixes #8208 Closes #8213
* runtests: allow client/file to specify multiple directoriesDaniel Stenberg2022-01-071-0/+14
| | | | ... and make sure to mkdir them all
* scripts/copyright.pl: support many provided file names on the cmdlineDaniel Stenberg2022-01-071-1/+1
|
* tests/FILEFORMAT.md: fix typoFabian Keil2022-01-071-1/+1
|
* Add test373: multiple chunks with binary zerosFabian Keil2022-01-072-1/+79
|
* Add test372: binary zero in data elementFabian Keil2022-01-072-1/+50
|
* tests/server/getpart.c: properly deal with binary data containing NUL bytesFabian Keil2022-01-071-10/+39
|
* runtests.pl: properly print the test if it contains binary zerosFabian Keil2022-01-071-1/+3
|
* mailmap: Xiaoke WangDaniel Stenberg2022-01-071-0/+1
|