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
Daniel Stenberg
e7e5cc4c63
language: "email"
...
Missed three occurrences.
Follow-up to 7a92f86
2021-12-20 13:49:37 +01:00
Daniel Stenberg
556a42edfb
nss:set_cipher don't clobber the cipher list
...
The string is set by the user and needs to remain intact for proper
connection reuse etc.
Reported-by: Eric Musser
Fixes #8160
Closes #8161
2021-12-20 10:51:44 +01:00
Daniel Stenberg
7a92f865b4
misc: s/e-mail/email
...
Consistency is king. Following the lead in everything curl.
Closes #8159
2021-12-19 23:48:13 +01:00
Tobias Nießen
b29af4a406
docs: fix typo in OpenSSL 3 build instructions
...
Closes #8162
2021-12-18 16:22:12 +01:00
Daniel Stenberg
ed0bc61e31
linkcheck.yml: add CI job that checks markdown links
...
Closes #8158
2021-12-17 09:17:09 +01:00
Daniel Stenberg
4bf36e2b2d
RELEASE-PROCEDURE.md: remove ICAL link and old release dates
2021-12-17 09:17:09 +01:00
Daniel Stenberg
97f15c2348
BINDINGS.md: "markdown-link-check-disable"
...
It feels a bit unfortunate to litter an ugly tag for this functionality,
but if we get link scans of all markdown files, this might be worth the
price.
2021-12-17 09:17:08 +01:00
Daniel Stenberg
1760258b16
docs: fix dead links, remove ECH.md
2021-12-17 09:17:08 +01:00
Jay Satiro
79d6057f1b
openssl: define HAVE_OPENSSL_VERSION for OpenSSL 1.1.0+
...
Prior to this change OpenSSL_version was only detected in configure
builds. For other builds the old version parsing code was used which
would result in incorrect versioning for OpenSSL 3:
Before:
curl 7.80.0 (i386-pc-win32) libcurl/7.80.0 OpenSSL/3.0.0a zlib/1.2.11
WinIDN libssh2/1.9.0
After:
curl 7.80.0 (i386-pc-win32) libcurl/7.80.0 OpenSSL/3.0.1 zlib/1.2.11
WinIDN libssh2/1.9.0
Reported-by: lllaffer@users.noreply.github.com
Fixes https://github.com/curl/curl/issues/8154
Closes https://github.com/curl/curl/pull/8155
2021-12-16 13:49:52 -05:00
xquery
cb26b2c7a7
docs: add known bugs list to HTTP3.md
...
Closes #8156
2021-12-16 10:39:49 +01:00
Dan Fandrich
4a09a85d55
BINDINGS: add one from Everything curl and update a link
2021-12-15 22:27:20 -08:00
Dan Fandrich
bedd44f434
libcurl-security.3: mention address and URL mitigations
...
The new CURLOPT_PREREQFUNCTION callback is another way to sanitize
addresses.
Using the curl_url API is a way to mitigate against attacks relying on
URL parsing differences.
2021-12-15 00:14:29 -08:00
Daniel Stenberg
b9239ba01b
RELEASE-NOTES: synced
2021-12-15 08:50:01 +01:00
Daniel Stenberg
c9e0549113
x509asn1: return early on errors
...
Overhaul to make sure functions that detect errors bail out early with
error rather than trying to continue and risk hiding the problem.
Closes #8147
2021-12-15 08:19:29 +01:00
Patrick Monnerat
cdc1da9120
openldap: several minor improvements
...
- Early check proper LDAP URL syntax. Reject URLs with a userinfo part.
- Use dynamic memory for ldap_init_fd() URL rather than a
stack-allocated buffer.
- Never chase referrals: supporting it would require additional parallel
connections and alternate authentication credentials.
- Do not wait 1 microsecond while polling/reading query response data.
- Store last received server code for retrieval with CURLINFO_RESPONSE_CODE.
Closes #8140
2021-12-15 08:07:53 +01:00
MAntoniak
39406280bb
misc: remove unused doh flags when CURL_DISABLE_DOH is defined
...
Closes #8148
2021-12-15 08:01:21 +01:00
Daniel Stenberg
867ad1cd8b
mbedtls: fix CURLOPT_SSLCERT_BLOB
...
The memory passed to mbedTLS for this needs to be null terminated.
Reported-by: Florian Van Heghe
Closes #8146
2021-12-14 15:35:54 +01:00
Daniel Stenberg
64e8bf9ff4
asyn-ares: ares_getaddrinfo needs no happy eyeballs timer
...
Closes #8142
2021-12-14 15:34:43 +01:00
Daniel Stenberg
771ca5d000
mailmap: add Yongkang Huang
...
From #8141
2021-12-14 14:48:30 +01:00
MrDwZ
1cdfdcde3b
check ssl_config when re-use proxy connection
2021-12-14 14:46:10 +01:00
Daniel Stenberg
9d0d16d435
mbedtls: do a separate malloc for ca_info_blob
...
Since the mbedTLS API requires the data to the null terminated.
Follow-up to 456c53730d
Fixes #8139
Closes #8145
2021-12-14 11:52:14 +01:00
Marc Hoersken
f03cc1b7a6
CI: build examples for additional code verification
...
Some CIs already build them, let's do it on more of them.
Reviewed-by: Daniel Stenberg
Follow up to #7690 and 77311f420a
Replaces #7591
Closes #7922
2021-12-14 07:53:39 +01:00
Marc Hoersken
77311f420a
docs/examples: workaround broken -Wno-pedantic-ms-format
...
Avoid CURL_FORMAT_CURL_OFF_T by using unsigned long instead.
Improve size_t to long conversion in imap-append.c example.
Ref: https://github.com/curl/curl/issues/6079
Ref: https://github.com/curl/curl/pull/6082
Assisted-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Preparation of #7922
2021-12-14 07:52:26 +01:00
Marc Hoersken
52202691d1
tests/data/test302[12]: fix MSYS2 path conversion of hostpubsha256
...
Ref: https://www.msys2.org/wiki/Porting/#filesystem-namespaces
Reviewed-by: Marcel Raad
Reviewed-by: Jay Satiro
Fixes #8084
Closes #8138
2021-12-14 07:43:16 +01:00
Patrick Monnerat
2300ad26d3
openldap: simplify ldif generation code
...
and take care of zero-length values, avoiding conversion to base64
and/or trailing spaces.
Closes #8136
2021-12-13 15:57:19 +01:00
Daniel Stenberg
e75bc3ae3f
example/progressfunc: remove code for old libcurls
...
7.61.0 is over three years old now, remove all #ifdefs for handling
ancient libcurl versions so that the example gets easier to read and
understand
Closes #8137
2021-12-13 15:56:32 +01:00
x2018
d6ff35b5a5
sha256/md5: return errors when init fails
...
Closes #8133
2021-12-13 15:54:16 +01:00
Daniel Stenberg
da97316596
TODO: 13.3 Defeat TLS fingerprinting
...
Closes #8119
2021-12-11 22:30:27 +01:00
Daniel Stenberg
39a9de3cec
RELEASE-NOTES: synced
2021-12-11 21:49:24 +01:00
Patrick Monnerat
b40e4c0d47
openldap: process search query response messages one by one
...
Upon receiving large result sets, this reduces memory consumption and
allows starting to output results while the transfer is still in
progress.
Closes #8101
2021-12-11 12:54:50 +01:00
Daniel Stenberg
254f7bd78a
hash: lazy-alloc the table in Curl_hash_add()
...
This makes Curl_hash_init() infallible which saves error paths.
Closes #8132
2021-12-10 23:16:43 +01:00
Daniel Stenberg
e43ad4b474
multi: cleanup the socket hash when destroying it
...
Since each socket hash entry may themselves have a hash table in them,
the destroying of the socket hash needs to make sure all the subhashes
are also correctly destroyed to avoid leaking memory.
Fixes #8129
Closes #8131
2021-12-10 17:02:04 +01:00
Daniel Stenberg
439aa50211
test1156: fixup the stdout check for Windows
...
It is not text mode.
Follow-up to 6f73e68d18
Closes #8134
2021-12-10 17:00:37 +01:00
Daniel Stenberg
96c815c22e
test1528: enable for hyper
...
Closes #8128
2021-12-09 23:32:39 +01:00
Daniel Stenberg
b63bb77c79
test1527: enable for hyper
...
Closes #8128
2021-12-09 23:32:36 +01:00
Daniel Stenberg
34f090a5cc
test1526: enable for hyper
...
Closes #8128
2021-12-09 23:32:33 +01:00
Daniel Stenberg
8d0d5859e0
test1525: slightly tweaked for hyper
...
Closes #8128
2021-12-09 23:32:25 +01:00
Daniel Stenberg
6f73e68d18
test1156: enable for hyper
...
Minor reorg of the lib1156 code and it works fine for hyper.
Closes #8127
2021-12-09 23:30:34 +01:00
Daniel Stenberg
fde1f1bfe9
test661: enable for hyper
...
Closes #8126
2021-12-09 23:29:04 +01:00
Daniel Stenberg
e30b2064b7
docs: fix proselint nits
...
- remove a lot of exclamation marks
- use consistent spaces (1, not 2)
- use better words at some places
Closes #8123
2021-12-09 23:16:46 +01:00
RekGRpth
5a3775fadf
BINDINGS.md: add cURL client for PostgreSQL
...
Closes #8125
2021-12-09 14:34:52 +01:00
RekGRpth
98ae5d8ebc
CURLSHOPT_USERDATA.3: fix copy-paste mistake
...
Closes #8124
2021-12-09 14:31:22 +01:00
Daniel Stenberg
d6934d393d
docs: fix minor nroff format nits
...
Repairs test 1140
Follow-up to 436cdf8204
2021-12-09 13:18:27 +01:00
Daniel Stenberg
f6151dd9ba
docs/URL-SYNTAX.md: space is not fine in a given URL
2021-12-09 11:32:09 +01:00
Daniel Stenberg
436cdf8204
curl_multi_perform/socket_action.3: clarify what errors mean
...
An error returned from one of these funtions mean that ALL still ongoing
transfers are to be considered failed.
Ref: #8114
Closes #8120
2021-12-09 10:23:19 +01:00
Daniel Stenberg
e067f46c4d
libcurl-errors.3: add CURLM_ABORTED_BY_CALLBACK
...
Follow-up to #8089 (2b3dd01
)
Closes #8116
2021-12-09 10:21:36 +01:00