Daniel Stenberg
8984a42ae4
http: fix "unused parameter ‘conn’" warning
...
Follow-up from 7d600ad1c3
Spotted on appveyor
Closes #8465
2022-02-17 07:55:17 +01:00
Alejandro R. Sedeño
477a2bf989
sha256: Fix minimum OpenSSL version
...
- Change the minimum OpenSSL version for using their SHA256
implementation from 0.9.7 to 0.9.8.
EVP_sha256() does not appear in the OpenSSL source before 0.9.7h, and
does not get built by default until 0.9.8, so trying to use it for all
0.9.7 is wrong, and before 0.9.8 is unreliable.
Closes https://github.com/curl/curl/pull/8464
2022-02-17 00:35:23 -05:00
Daniel Stenberg
44e5c7e4b0
KNOWN_BUGS: remove "slow connect to localhost on Windows"
...
localhost is not resolved anymore since 1a0ebf6632
2022-02-16 14:05:41 +01:00
Daniel Stenberg
4c509a9b8f
KNOWN_BUGS: remove "HTTP/3 download is 5x times slower than HTTP/2"
...
It's not actually a bug. More like room for improvement.
2022-02-16 13:46:04 +01:00
Daniel Stenberg
ae20b5d60e
KNOWN_BUGS: remove "HTTP/3 download with quiche halts after a while"
...
Follow-up to 96f85a0fef
2022-02-16 13:35:34 +01:00
Daniel Stenberg
2f1fb6c1cc
KNOWN_BUGS: remove "pulseUI vpn" as a problem
...
We haven't heard about this for a long time and rumours have it they
might have fixed it.
2022-02-16 13:34:12 +01:00
Daniel Stenberg
7d600ad1c3
urldata: remove conn->bits.user_passwd
...
The authentication status should be told by the transfer and not the
connection.
Reported-by: John H. Ayad
Fixes #8449
Closes #8451
2022-02-16 10:28:31 +01:00
Kevin Adler
eb13cc2927
gskit: Convert to using Curl_poll
...
As mentioned in 32766cb
, gskit was the last user of Curl_select which is
now gone. Convert to using Curl_poll to allow build to work on IBM i.
Closes #8454
2022-02-16 09:27:39 +01:00
Kevin Adler
657687fb17
gskit: Fix initialization of Curl_ssl_gskit struct
...
In c30bf22
, Curl_ssl_getsock was factored out in to a member of
struct Curl_ssl but the gskit initialization was not updated to reflect
this new member.
Closes #8454
2022-02-16 09:27:36 +01:00
Kevin Adler
9234547c34
gskit: Fix errors from Curl_strerror refactor
...
2f0bb864c1
replaced sterror with Curl_strerror, but the strerror buffer
shadows the set_buffer "buffer" parameter. To keep consistency with the
other functions that use Curl_strerror, rename the parameter.
In addition, strerror.h is needed for the definition of STRERROR_LEN.
Closes #8454
2022-02-16 09:27:22 +01:00
Marcel Raad
897e8baa54
ntlm: remove unused feature defines
...
They're not used anymore and always supported.
Closes https://github.com/curl/curl/pull/8453
2022-02-15 14:12:41 +01:00
Kantanat Wannapaka
3369f9f289
README.md: fix link and layout
...
replace <a></a> tags and <img></img> tags
Closes #8448
2022-02-15 09:28:41 +01:00
Daniel Stenberg
114327f7c3
KNOWN_BUGS: fix typo "libpsl"
2022-02-14 22:46:34 +01:00
Jay Satiro
ea67337684
h2h3: fix compiler warning due to function prototype mismatch
...
- Add missing const qualifier in Curl_pseudo_headers declaration.
2022-02-14 16:45:14 -05:00
Stefan Eissing
70ac27604a
urlapi: handle "redirects" smarter
...
- avoid one malloc when setting a new url via curl_url_set()
and CURLUPART_URL.
- extract common pattern into a new static function.
Closes #8450
2022-02-14 17:56:58 +01:00
Daniel Stenberg
663296c6b5
cijobs: pick up circleci configure lines better
2022-02-14 09:48:05 +01:00
Daniel Stenberg
67857c022d
circleci: add a job using wolfSSH
...
Build only, no tests.
Closes #8445
2022-02-14 09:41:32 +01:00
Daniel Stenberg
bdf49e3366
scripts/ciconfig.pl: show used options not available
2022-02-14 08:38:37 +01:00
Daniel Stenberg
d8ddd0e753
circleci: add a job using libssh
...
Closes #8444
2022-02-14 08:26:44 +01:00
Daniel Stenberg
7c140f6b2d
runtests: set 'oldlibssh' for libssh versions before 0.9.6
...
... and make test 1459 check for the different return code then.
Closes #8444
2022-02-14 08:26:44 +01:00
Jay Satiro
30b6896058
Makefile.am: Generate VS 2022 projects
...
Follow-up to f13d4d0
which added VS 2022 project support.
Ref: https://github.com/curl/curl/pull/8438
2022-02-13 16:28:40 -05:00
Daniel Stenberg
5a0644fae8
projects: remove support for MSVC before VC10 (Visual Studio 2010)
...
- Remove Visual Studio project files for VC6, VC7, VC7.1, VC8 and VC9.
Those versions are too old to be maintained any longer.
Closes https://github.com/curl/curl/pull/8442
2022-02-13 16:00:42 -05:00
Stav Nir
f13d4d0e93
projects: add support for Visual Studio 17 (2022)
...
Closes https://github.com/curl/curl/pull/8438
2022-02-13 15:34:23 -05:00
Daniel Stenberg
55b185734b
RELEASE-NOTES: synced
2022-02-13 12:13:54 +01:00
Daniel Stenberg
6dd8d7f349
connect: follow-up fix the copyright year
2022-02-13 12:13:45 +01:00
MAntoniak
06eb208126
misc: remove unused data when IPv6 is not supported
...
Closes #8430
2022-02-13 12:08:50 +01:00
Daniel Stenberg
ae5e57c304
scripts/ciconfig: show CI job config info
...
Closes #8446
2022-02-13 11:49:54 +01:00
Daniel Stenberg
f670665419
quiche: handle stream reset
...
A stream reset now causes a CURLE_PARTIAL_FILE error. I'm not convinced
this is the right action nor the right error code.
Reported-by: Lucas Pardue
Fixes #8437
Closes #8440
2022-02-13 11:48:32 +01:00
Daniel Stenberg
c8e8791d2d
mime: use a define instead of the magic number 24
...
MIME_BOUNDARY_DASHES is now the number of leading dashes in the
generated boundary string.
Closes #8441
2022-02-13 11:46:18 +01:00
Henrik Holst
65c6e37fe3
hostcheck: reduce strlen calls on chained certificates
...
Closes #8428
2022-02-13 11:42:47 +01:00
Patrick Monnerat
0bd50335fe
mime: some more strlen() call removals.
...
Closes #8423
2022-02-13 11:40:40 +01:00
Daniel Stenberg
b0d18dbcc0
scripts/cijobs.pl: detect zuul cmake jobs better
2022-02-12 16:56:06 +01:00
Daniel Stenberg
c3331a029c
url: exclude zonefrom_url when no ipv6 is available
...
Closes #8439
2022-02-11 23:27:47 +01:00
Daniel Stenberg
7e65d91071
if2ip: make Curl_ipv6_scope a blank macro when IPv6-disabled
...
Closes #8439
2022-02-11 23:27:37 +01:00
Henrik Holst
186340c9cd
mprintf: remove strlen calls on empty strings in dprintf_formatf
...
Turns out that in dprintf_formatf we did a strlen on empty strings, a
bit strange is how common this actually is, 24 alone when doing a simple
GET from https://curl.se
Closes #8427
2022-02-11 23:07:34 +01:00
Daniel Stenberg
e1667a61ea
wolfssl: return CURLE_AGAIN for the SSL_ERROR_NONE case
...
Closes #8431
2022-02-11 12:36:52 +01:00
Daniel Stenberg
327ef30530
wolfssl: when SSL_read() returns zero, check the error
...
Returning zero indicates end of connection, so if there's no data read
but the connection is alive, it needs to return -1 with CURLE_AGAIN.
Closes #8431
2022-02-11 10:48:52 +01:00
Daniel Stenberg
96f85a0fef
quiche: after leaving h3_recving state, poll again
...
This could otherwise easily leave libcurl "hanging" after the entire
transfer is done but without noticing the end-of-transfer signal.
Assisted-by: Lucas Pardue
Closes #8436
2022-02-11 10:07:24 +01:00
Daniel Stenberg
6883180fa5
quiche: when *recv_body() returns data, drain it before polling again
...
Assisted-by: Lucas Pardue
Closes #8429
2022-02-11 08:48:30 +01:00
gaoxingwang on github
053c27c184
configure: fix '--enable-code-coverage' typo
...
Fixes #8425
Closes #8426
2022-02-10 16:13:43 +01:00
Daniel Stenberg
836d3ccfe4
lib/h2h3: #ifdef on ENABLE_QUIC, not the wrong define
...
Otherwise the build fails when H3 is enabled but the build doesn't
include nghttp2.
Closes #8424
2022-02-10 15:12:02 +01:00
Daniel Stenberg
d15692ebba
hostcheck: pass in pattern length too, to avoid a strlen call
...
Removes one strlen() call per SAN name in a cert-check.
Closes #8418
2022-02-10 08:53:34 +01:00
HenrikHolst
9bc3cebc92
misc: remove strlen for Curl_checkheaders + Curl_checkProxyheaders
...
Closes #8409
2022-02-10 08:51:06 +01:00
Daniel Stenberg
3738de3bd1
configure: requires --with-nss-deprecated to build with NSS
...
Add deprecation plans to docs/DEPRECATE.md
Closes #8395
2022-02-09 16:33:26 +01:00
Daniel Stenberg
f9d1b25011
mqtt: free 'sendleftovers' in disconnect
...
Fix a memory-leak
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43646
Closes #8415
2022-02-09 14:43:32 +01:00
Patrick Monnerat
d9c61a9792
openldap: pass string length arguments to client_write()
...
This uses the new STRCONST() macro and saves 2 strlen() calls on short
string constants per LDIF output line.
Closes #8404
2022-02-09 13:57:35 +01:00
HenrikHolst
b807219292
misc: reduce strlen() calls with Curl_dyn_add()
...
Use STRCONST() to switch from Curl_dyn_add() to Curl_dyn_addn() for
string literals.
Closes #8398
2022-02-09 13:52:47 +01:00
Daniel Stenberg
2a1951519e
http2: fix the array copy to nghttp2_nv
...
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44517
Follow-up to 9f985a11e7
Closes #8414
2022-02-09 12:18:50 +01:00
Daniel Stenberg
77a9be6c5e
RELEASE-NOTES: synced
2022-02-09 10:09:10 +01:00
Daniel Stenberg
d8490eb16d
scripts/cijobs.pl: output data about all currect CI jobs
...
This script parses the config files for all the CI services currently in
use and output the information in a uniform way. The idea is that the
output from this script should be possible to massage into informational
tables or graphs to help us visualize what they are all testing and NOT
testing.
Closes #8408
2022-02-09 09:37:41 +01:00