Cameron Will
ce5463e60c
CURLOPT_RESOLVE.3: change example port to 443
...
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
2022-01-10 22:23:57 -05:00
Fabian Keil
e1e9d5af73
test374: gif data without new line at the end
...
Closes #8239
2022-01-10 15:54:54 +01:00
Fabian Keil
736847611a
runtests.pl: support the nonewline attribute for the data part
...
Added to FILEFORMAT
Closes #8239
2022-01-10 15:54:54 +01:00
Patrick Monnerat
b6acbdeb63
curl tool: erase some more sensitive command line arguments
...
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
2022-01-10 15:49:25 +01:00
Daniel Stenberg
223f26c28a
mesalink: remove support
...
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
2022-01-10 11:27:59 +01:00
Daniel Stenberg
7edb0fcf3f
ldap: return CURLE_URL_MALFORMAT for bad URL
...
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
2022-01-10 09:37:47 +01:00
Daniel Stenberg
2a19ad473a
docs/cmdline-opts: add "mutexed" options for more http versions
...
Update four http version man page sections.
Closes #8254
2022-01-10 09:33:35 +01:00
Stephen M. Coakley
3be94d84fc
rustls: add CURLOPT_CAINFO_BLOB support
...
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
2022-01-10 09:30:12 +01:00
Daniel Stenberg
dbde76bdd6
scripts/copyright.pl: ignore missing files
2022-01-09 22:28:04 +01:00
Daniel Stenberg
d8218d45e4
RELEASE-NOTES: synced
2022-01-09 18:13:04 +01:00
Daniel Stenberg
1f7234a290
data/DISABLED: disable test 313 for wolfssl builds
...
It was previously disabled only in the CI jobs yaml
Closes #8252
2022-01-09 18:08:33 +01:00
Daniel Stenberg
cfb4f8b626
runtests: make 'wolfssl' a testable feature
...
Closes #8252
2022-01-09 18:08:14 +01:00
Daniel Stenberg
5bf1c4681a
GHA: install stunnel in the medbtls + wolfssl CI jobs
...
Closes #8252
2022-01-09 18:08:02 +01:00
Daniel Stenberg
70a1101e41
CI: move the rustls CI job to GHA from Zuul
...
Closes #8251
2022-01-09 16:07:48 +01:00
Daniel Stenberg
4c843fddcf
DISABLE: disable a dozen tests in the rustls build
...
Disables tests that don't yet work with the rustls backend.
Fixes #8004
Closes #8250
2022-01-09 16:06:19 +01:00
Daniel Stenberg
1fefa1a856
runtests: make 'rustls' a testable feature
2022-01-09 16:06:19 +01:00
Daniel Stenberg
a6f227252c
remote-header-name.d: clarify
...
- 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
2022-01-09 16:04:05 +01:00
Daniel Stenberg
d1237ac906
url: given a user in the URL, find pwd for that user in netrc
...
Add test 380 and 381 to verify, edited test 133
Reported-by: Manfred Schwarb
Fixes #8241
Closes #8243
2022-01-09 14:16:41 +01:00
Niels Martignène
919baa5802
mbedtls: Fix ssl_init error with mbedTLS 3.1.0+
...
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
2022-01-09 14:12:40 +01:00
Filip Lundgren
d14831233d
cmake: fix iOS CMake project generation error
...
Closes #8244
2022-01-08 15:58:03 +01:00
Daniel Stenberg
4936e60bb9
ngtcp2: fix declaration of ‘result’ shadows a previous local
...
Follow-up to 8fbd6feddf
Closes #8245
2022-01-08 14:41:33 +01:00
Daniel Stenberg
1bb406c7ed
openssl.h: avoid including OpenSSL headers here
...
... 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
2022-01-08 14:39:12 +01:00
Daniel Stenberg
40eec3f80e
curl_url_set.3: mention when CURLU_ALLOW_SPACE was added
2022-01-08 00:28:52 +01:00
Daniel Stenberg
e180dde9c5
tool_findfile: free mem properly
...
Follow-up to 764e4f066d
Closes #8242
2022-01-07 16:39:19 +01:00
Daniel Stenberg
764e4f066d
tool_findfile: check ~/.config/curlrc too
...
... 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
2022-01-07 10:10:49 +01:00
Daniel Stenberg
4432234aca
runtests: allow client/file to specify multiple directories
...
... and make sure to mkdir them all
2022-01-07 10:08:35 +01:00
Daniel Stenberg
2e6f83f051
scripts/copyright.pl: support many provided file names on the cmdline
2022-01-07 10:06:16 +01:00
Fabian Keil
8742729827
tests/FILEFORMAT.md: fix typo
2022-01-07 10:01:44 +01:00
Fabian Keil
5da22337fe
Add test373: multiple chunks with binary zeros
2022-01-07 10:01:44 +01:00
Fabian Keil
33d0503103
Add test372: binary zero in data element
2022-01-07 10:01:44 +01:00
Fabian Keil
592880a3ca
tests/server/getpart.c: properly deal with binary data containing NUL bytes
2022-01-07 10:01:44 +01:00
Fabian Keil
43eef423d6
runtests.pl: properly print the test if it contains binary zeros
2022-01-07 10:01:44 +01:00
Daniel Stenberg
6e7ce9bbfb
mailmap: Xiaoke Wang
2022-01-07 09:59:41 +01:00
Daniel Stenberg
3a6b923170
openssl: copyright year update
...
Follow-up to 30aea2b1ed
2022-01-07 09:59:29 +01:00
Daniel Stenberg
8e657c3667
scripts/copyright.pl: hush unless -v (for verbose) is used
2022-01-07 09:49:42 +01:00
xkernel
30aea2b1ed
openssl: check the return value of BIO_new_mem_buf()
...
Closes #8233
2022-01-07 09:34:08 +01:00
Daniel Stenberg
60080202bb
examples/multi-app.c: call curl_multi_remove_handle as well
...
Fixes #8234
Reported-by: Melroy van den Berg
Closes #8236
2022-01-07 09:25:57 +01:00
Daniel Stenberg
0409192b1f
COPYING: bump copyright year range
2022-01-05 23:14:15 +01:00
Daniel Stenberg
4f443f702d
RELEASE-NOTES: synced
...
and bump curlver after release
2022-01-05 23:13:49 +01:00
Daniel Stenberg
a338d86885
docs: fix mandoc -T lint formatting complaints
...
Closes #8228
2022-01-05 22:45:02 +01:00
Daniel Stenberg
dbf83403e2
next.d. remove .fi/.nf as they are handled by gen.pl
...
Closes #8228
2022-01-05 22:44:59 +01:00
Daniel Stenberg
996221fc6c
gen.pl: terminate "example" sections better
...
If the example (section that is prefixed with spaces) ends the
description gen.pl would previously miss to output the terminating .fi
Closes #8228
2022-01-05 22:44:52 +01:00
Satadru Pramanik
e39421cef3
curl-functions.m4: fix LIBRARY_PATH adjustment to avoid eval
...
$$ usage in a m4 file introduces the PID in linux.
Instead, just duplicate previous working code with a case switch.
Fixes #8229
Closes #8230
2022-01-05 22:41:37 +01:00
Daniel Stenberg
801bd5138c
RELEASE-NOTES: synced
...
curl 7.81.0 release
2022-01-05 00:35:58 +01:00
Daniel Stenberg
36411bf65a
THANKS: add names from 7.81.0 release
2022-01-05 00:35:58 +01:00
Daniel Stenberg
0c416edbec
curl_multi_init.3: fix the copyright year range
2022-01-05 00:35:58 +01:00
Daniel Stenberg
99c42919d0
test719-721: require "proxy" feature present to run
...
Bug: https://github.com/curl/curl/pull/8223#issuecomment-1005188696
Reported-by: Marc Hörsken
Closes #8226
2022-01-05 00:35:21 +01:00
Daniel Stenberg
47f03aa2c6
test719: require ipv6 support to run
...
Follow-up to effd2bd7ba
Reported-by: Marc Hörsken
Bug: https://github.com/curl/curl/pull/8217#issuecomment-1004681145
Closes #8223
2022-01-04 11:47:44 +01:00
Daniel Stenberg
dbbf3609f3
test719-721: verify SOCKS details
...
Using the new verify/socks details
2022-01-03 22:32:05 +01:00
Daniel Stenberg
d2f712ddd0
runtests: add verify/socks check
...
If used, this data is compared with the data in log/socksd-request.log
which the socksd server logs.
Added to FILEFORMAT.md
2022-01-03 22:32:05 +01:00