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
Valentin Richter
37b8a16fa7
cmake: prevent dev warning due to mismatched arg
...
-- curl version=[7.81.0-DEV]
CMake Warning (dev) at /usr/share/cmake-3.22.1/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (MBEDTLS)
does not match the name of the calling package (MbedTLS). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
deps/curl/CMake/FindMbedTLS.cmake:31 (find_package_handle_standard_args)
deps/curl/CMakeLists.txt:473 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
Closes #8207
2022-01-02 23:01:07 +01:00
Daniel Stenberg
eec5ce4ab4
urlapi: if possible, shorten given numerical IPv6 addresses
...
Extended test 1560 to verify
Closes #8206
2022-01-02 22:59:08 +01:00
MAntoniak
1f31bdb10b
url: reduce ssl backend count for CURL_DISABLE_PROXY builds
...
Closes #8212
2022-01-02 22:53:47 +01:00
Daniel Stenberg
78dcbe40a6
KNOWN_BUGS: "Trying local ports fails on Windows"
...
Reported-by: gclinch on github
Closes #8112
2022-01-01 17:59:56 +01:00
Daniel Stenberg
d8f6e5dc8e
misc: update copyright year range
2021-12-30 14:17:47 +01:00
Daniel Stenberg
4ad6b69e79
zuul: remove the wolfssl even more
...
Follow-up to 1914465cf1
2021-12-30 14:15:33 +01:00
Daniel Stenberg
e1b04106f8
examples/multi-single.c: remove WAITMS()
...
As it isn't used.
Reported-by: Melroy van den Berg
Fixes #8200
Closes #8201
2021-12-30 13:55:54 +01:00
Daniel Stenberg
a4d9876c31
gtls: add gnutls include for the session type
...
Follow-up to 8fbd6feddf
to make it build more universally
2021-12-29 23:46:13 +01:00
Daniel Stenberg
e9021838db
m4/curl-compilers: tell clang -Wno-pointer-bool-conversion
...
To hush compiler warnings we don't care for: error: address of function
'X' will always evaluate to 'true'
Fixes #8197
Closes #8198
2021-12-29 23:20:57 +01:00
Daniel Stenberg
f77292663c
http_proxy: don't close the socket (too early)
...
... and double-check in the OpenSSL shutdown that the socket is actually
still there before it is used.
Fixes #8193
Closes #8195
Reported-by: Leszek Kubik
2021-12-29 23:20:03 +01:00
Daniel Stenberg
8fbd6feddf
ngtcp2: verify the server certificate for the gnutls case
...
Closes #8178
2021-12-28 23:34:30 +01:00
Daniel Stenberg
c148f0f551
ngtcp2: verify the server cert on connect (quictls)
...
Make ngtcp2+quictls correctly acknowledge `CURLOPT_SSL_VERIFYPEER` and
`CURLOPT_SSL_VERIFYHOST`.
The name check now uses a function from lib/vtls/openssl.c which will
need attention for when TLS is not done by OpenSSL or is disabled while
QUIC is enabled.
Possibly the servercert() function in openssl.c should be adjusted to be
able to use for both regular TLS and QUIC.
Ref: #8173
Closes #8178
2021-12-28 23:34:23 +01:00
Daniel Stenberg
1914465cf1
zuul: remove the wolfssl build
2021-12-28 15:44:35 +01:00
Daniel Stenberg
d82ad1f1ea
github workflow: add wolfssl
...
Closes #8196
2021-12-28 15:44:29 +01:00
Nicolas Sterchele
e7f9c904ca
zuul: fix quiche build pointing to wrong Cargo
...
Fixes #8184
Closes #8189
2021-12-27 23:40:48 +01:00
Daniel Stenberg
21248e052d
checksrc: detect more kinds of NULL comparisons we avoid
...
Co-authored-by: Jay Satiro
Closes #8180
2021-12-27 23:39:26 +01:00
Daniel Stenberg
acaa79f961
RELEASE-NOTES: synced
2021-12-27 22:54:22 +01:00
Daniel Stenberg
7a08bb709c
mesalink: remove the BACKEND define kludge
...
Closes #8183
2021-12-26 18:33:07 +01:00
Daniel Stenberg
b8ef4a845b
schannel: remove the BACKEND define kludge
...
Closes #8182
2021-12-26 11:59:28 +01:00
Daniel Stenberg
4a2ab69ab5
gtls: check return code for gnutls_alpn_set_protocols
...
Closes #8181
2021-12-26 11:28:23 +01:00
Stefan Huber
7c1ede7b69
README: label the link to the support document
...
Closes #8185
2021-12-26 11:08:53 +01:00
Daniel Stenberg
d4492b6d12
docs/HTTP3: describe how to setup a h3 reverse-proxy for testing
...
Assisted-by: Matt Holt
Closes #8177
2021-12-23 17:28:13 +01:00
Daniel Stenberg
193053e2ed
libcurl-multi.3: "SOCKS proxy handshakes" are not blocking
...
Since 4a4b63daaa
2021-12-23 10:19:06 +01:00
Vladimir Panteleev
2c1dbc1af0
tests: Add test for CURLOPT_HTTP200ALIASES
2021-12-21 08:45:06 +01:00
Vladimir Panteleev
1b9f1f6055
http: Fix CURLOPT_HTTP200ALIASES
...
The httpcode < 100 check was also triggered when none of the fields were
parsed, thus making the if(!nc) block unreachable.
Closes #8171
2021-12-21 08:44:55 +01:00
Daniel Stenberg
ef4dc1b5be
RELEASE-NOTES: synced
2021-12-20 16:19:41 +01:00