Skip to content

Commit a3257bd

Browse files
author
cve-libcurl-updater
committed
Merge upstream curl-8_21_0 into master
2 parents a8b3200 + 68720b4 commit a3257bd

1,223 files changed

Lines changed: 31642 additions & 18559 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ body:
1515
1616
**SECURITY RELATED?** Submit here: https://hackerone.com/curl
1717
18+
- type: markdown
19+
attributes:
20+
value: "
21+
> [!IMPORTANT]
22+
23+
> If you cannot understand or explain your work without using
24+
Artificial Intelligence (AI) then do not file here. Do not paste
25+
massive AI generated explanations. We accept the use of AI as long as
26+
it is digestible. Please explain your issues or improvements briefly
27+
and clearly in your own human voice."
28+
1829
- type: textarea
1930
id: reproducer
2031
attributes:

‎.github/ISSUE_TEMPLATE/docs.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ body:
1414
1515
Only file documentation bugs here! Ask questions on the mailing lists https://curl.se/mail/
1616
17+
- type: markdown
18+
attributes:
19+
value: "
20+
> [!IMPORTANT]
21+
22+
> If you cannot understand or explain your work without using
23+
Artificial Intelligence (AI) then do not file here. Do not paste
24+
massive AI generated explanations. We accept the use of AI as long as
25+
it is digestible. Please explain your issues or improvements briefly
26+
and clearly in your own human voice."
27+
1728
- type: textarea
1829
id: source
1930
attributes:

‎.github/labeler.yml‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ authentication:
3939
- any-glob-to-all-files: "{\
4040
CMake/FindGSS.cmake,\
4141
CMake/FindLibgsasl.cmake,\
42+
docs/internals/CREDENTIALS.md,\
4243
docs/libcurl/opts/CURLINFO_HTTPAUTH*,\
4344
docs/libcurl/opts/CURLINFO_PROXYAUTH*,\
4445
docs/libcurl/opts/CURLOPT_KRB*,\
@@ -49,10 +50,13 @@ authentication:
4950
docs/libcurl/opts/CURLOPT_XOAUTH*,\
5051
lib/*gssapi*,\
5152
lib/*ntlm*,\
53+
lib/creds.*,\
54+
lib/curl_ntlm*,\
5255
lib/curl_sasl.*,\
5356
lib/http_aws*,\
5457
lib/http_digest.*,\
5558
lib/http_negotiate.*,\
59+
lib/http_ntlm.*,\
5660
lib/vauth/**\
5761
}"
5862

@@ -129,16 +133,19 @@ connecting & proxies:
129133
docs/libcurl/opts/CURLOPT_SOCKS*,\
130134
docs/libcurl/opts/CURLOPT_TCP*,\
131135
docs/libcurl/opts/CURLOPT_TIMEOUT*,\
136+
lib/cf-https-connect.*,\
137+
lib/cf-ip-happy.*,\
132138
lib/cf-*proxy.*,\
133139
lib/cf-socket.*,\
134140
lib/cfilters.*,\
135141
lib/conncache.*,\
136142
lib/connect.*,\
137143
lib/http_proxy.*,\
138144
lib/if2ip.*,\
139-
lib/noproxy.*,\
145+
lib/proxy.*,\
140146
lib/socks.*,\
141147
src/tool_cb_soc.*,\
148+
tests/http/*proxy*,\
142149
tests/http/*socks*,\
143150
tests/server/socksd.c\
144151
}"
@@ -295,11 +302,14 @@ HTTP/3:
295302
.github/workflows/http3-linux.yml,\
296303
CMake/FindNGHTTP3.cmake,\
297304
CMake/FindNGTCP2.cmake,\
305+
docs/cmdline-opts/proxy-http3.md,\
298306
docs/HTTP3.md,\
299307
docs/examples/http3*,\
308+
lib/cf-h3-proxy.*,\
300309
lib/vquic/**,\
301310
tests/http3-server.pl,\
302-
tests/nghttpx.conf\
311+
tests/nghttpx.conf,\
312+
tests/http/*httpsrr*\
303313
}"
304314

305315
IMAP:
@@ -381,6 +391,8 @@ name lookup:
381391
lib/socketpair*,\
382392
lib/thrdpool.*,\
383393
lib/thrdqueue.*,\
394+
tests/http/testenv/dnsd.*,\
395+
tests/http/*httpsrr*,\
384396
tests/http/*resolve.py,\
385397
tests/server/dnsd.c,\
386398
tests/server/resolve.c\
@@ -458,6 +470,7 @@ tests:
458470
- all:
459471
- changed-files:
460472
- any-glob-to-any-file:
473+
- 'docs/tests/**'
461474
- 'tests/**'
462475

463476
TFTP:
@@ -548,9 +561,9 @@ Windows:
548561
lib/curlx/fopen.*,\
549562
lib/curlx/multibyte.*,\
550563
lib/curlx/winapi.*,\
564+
lib/libcurl.def,\
551565
lib/vtls/schannel*,\
552566
m4/curl-schannel.m4,\
553567
projects/Windows/**,\
554-
src/tool_doswin.c,\
555-
lib/libcurl.def\
568+
src/tool_doswin.c\
556569
}"

‎.github/pull_request_template.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!--
2+
IMPORTANT:
3+
If you cannot understand or explain your work without using
4+
Artificial Intelligence (AI) then do not file here. Do not paste
5+
massive AI generated explanations. We accept the use of AI as long as
6+
it is digestible. Please explain your issues or improvements briefly
7+
and clearly in your own human voice.
8+
-->

‎.github/scripts/cleancmd.pl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
my @asyms;
1717

1818
open(S, "<./docs/libcurl/symbols-in-versions")
19-
|| die "cannot find symbols-in-versions";
19+
or die "cannot find symbols-in-versions";
2020
while(<S>) {
2121
if(/^([^ ]*) /) {
2222
push @asyms, $1;
@@ -30,7 +30,7 @@
3030
);
3131

3232
open(O, "<./docs/options-in-versions")
33-
|| die "cannot find options-in-versions";
33+
or die "cannot find options-in-versions";
3434
while(<O>) {
3535
chomp;
3636
if(/^([^ ]+)/) {
@@ -50,7 +50,7 @@
5050
close(O);
5151

5252
open(C, "<./.github/scripts/spellcheck.curl")
53-
|| die "cannot find spellcheck.curl";
53+
or die "cannot find spellcheck.curl";
5454
while(<C>) {
5555
if(/^\#/) {
5656
next;

‎.github/scripts/cmp-config.pl‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
exit;
3535
}
3636

37-
# this lists complete lines that will be removed from the output if
38-
# matching
37+
# this lists complete lines that are removed from the output if matching
3938
my %remove = (
4039
'#define CURL_EXTERN_SYMBOL' => 1,
4140
'#define CURL_OS "Linux"' => 1,

‎.github/scripts/pyspelling.words‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,10 @@ CWE
167167
cyassl
168168
Cygwin
169169
daniel
170+
datagrams
170171
datatracker
171172
dbg
173+
decapsulation
172174
Debian
173175
DEBUGBUILD
174176
decrypt
@@ -234,6 +236,7 @@ EGD
234236
EHLO
235237
EINTR
236238
else's
239+
encapsulation
237240
encodings
238241
enctype
239242
endianness
@@ -896,6 +899,7 @@ trustless
896899
Tse
897900
Tsujikawa
898901
TTL
902+
tty
899903
tvOS
900904
txt
901905
typedef
@@ -1010,6 +1014,7 @@ Youtube
10101014
YYYY
10111015
YYYYMMDD
10121016
Zakrzewski
1017+
Zeropath
10131018
Zitzmann
10141019
zlib
10151020
zsh

‎.github/scripts/randcurl.pl‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ sub storedata {
6161
}
6262

6363
sub getoptions {
64-
my @all = `$curl --help all`;
64+
my @all = qx($curl --help all);
6565
for my $o (@all) {
6666
chomp $o;
6767
if($o =~ /^ -(.), --([^ ]*) (.*)/) {
@@ -142,7 +142,7 @@ sub runone {
142142
$a .= " ".addarg();
143143
}
144144

145-
my $cmd="$curl$a $url";
145+
my $cmd = "$curl$a $url";
146146

147147
my $rc = system("$cmd >curl-output 2>&1 </dev/null -M 0.1") >> 8;
148148
#my $rc = system("valgrind -q $cmd >/dev/null 2>&1 </dev/null -M 0.1") >> 8;
@@ -194,7 +194,7 @@ sub runconfig {
194194
print C "$a\n";
195195
close(C);
196196

197-
my $cmd="$curl -K config $url";
197+
my $cmd = "$curl -K config $url";
198198

199199
my $rc = system("$cmd >curl-output 2>&1 </dev/null -M 0.1") >> 8;
200200

@@ -218,7 +218,7 @@ sub runconfig {
218218
}
219219

220220
# run curl command lines using -K
221-
my $end = time() + $seconds/2;
221+
my $end = time() + $seconds / 2;
222222
my $c = 0;
223223
print "Running command lines\n";
224224
do {
@@ -228,7 +228,7 @@ sub runconfig {
228228
print "$c command lines\n";
229229

230230
# run curl command lines
231-
$end = time() + $seconds/2;
231+
$end = time() + $seconds / 2;
232232
$c = 0;
233233
print "Running config lines\n";
234234
do {

‎.github/scripts/requirements.txt‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44

55
cmakelang==0.6.13
66
codespell==2.4.2
7-
pytype==2024.10.11
87
reuse==6.2.0
9-
ruff==0.15.10
8+
ruff==0.15.16

‎.github/scripts/typos.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
extend-ignore-identifiers-re = [
77
"^(ba|fo|pn|PN|UE)$",
88
"^(CNA|cpy|ser)$",
9-
"^(ECT0|ECT1|HELO|htpts|PASE)$",
9+
"^(ECT0|ECT1|HELO|htpts|mport|PASE)$",
1010
"^[A-Za-z0-9_-]*(EDE|GOST)[A-Z0-9_-]*$", # ciphers
1111
"^0x[0-9a-fA-F]+FUL$", # unsigned long hex literals ending with 'F'
1212
"^[0-9a-zA-Z+]{64,}$", # possibly base64

0 commit comments

Comments
 (0)