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
Daniel Stenberg
61cbb4b626
server/socksd: log atyp + address in a separate log
...
To allow the test suite to verify that the right data arrived
2022-01-03 22:32:05 +01:00
Daniel Stenberg
effd2bd7ba
socks5: use appropriate ATYP for numerical IP address host names
...
When not resolving the address locallly (known as socks5h).
Add test 719 and 720 to verify.
Reported-by: Peter Piekarski
Fixes #8216
Closes #8217
2022-01-03 22:32:05 +01:00
Jay Satiro
53a3e90e06
curl_multi_init.3: fix EXAMPLE formatting
2022-01-03 15:14:45 -05:00
Daniel Stenberg
5f4be1459e
RELEASE-NOTES: synced
2022-01-03 17:17:22 +01:00
Daniel Stenberg
c1a4f3e815
libtest: avoid "assignment within conditional expression"
...
In lib530, lib540 and lib582
Closes #8218
2022-01-03 17:05:36 +01:00
Daniel Stenberg
6da5bc63ca
ftp: disable warning 4706 in MSVC
...
Follow-up to 21248e052d
Disabling "assignment within conditional expression" for MSVC needs to
be done before the function starts, for it to take effect.
Closes #8218
2022-01-03 17:05:13 +01:00
Daniel Stenberg
ee2ca5826b
tool_operate: warn if too many output arguments were found
...
More output instructions than URLs is likely a user error.
Add test case 371 to verify
Closes #8210
2022-01-03 15:55:38 +01:00
Daniel Stenberg
c07aca3baa
.github/workflows/mbedtls.yml: bump to mbedtls 3.1.0
...
Closes #8215
2022-01-03 09:13:50 +01:00
Daniel Stenberg
e8541c0aae
zuul: remove the mbedtls jobs
...
Now running as github workflows
Closes #8215
2022-01-03 09:13:47 +01:00
Daniel Stenberg
4f4cf0842e
github/workflows: add mbedtls and mbedtls-clang
...
Closes #8215
2022-01-03 09:13:34 +01:00
Valentin Richter
75b832c8a0
mbedtls: fix private member designations for v3.1.0
...
"As a last resort, you can access the field foo of a structure bar by
writing bar.MBEDTLS_PRIVATE(foo). Note that you do so at your own risk,
since such code is likely to break in a future minor version of Mbed
TLS." -
f2d1199edc/docs/3.0-migration-guide.md
That future minor version is v3.1.0. I set the >= to == for the version
checks because v3.1.0 is a release, and I am not sure when the private
designation was reverted after v3.0.0.
Closes #8214
2022-01-03 08:56:31 +01:00