curl/lib
Viktor Szakats 952b04474c
tidy-up: miscellaneous
- badwords: replace stray synonyms with 'null-terminator'.
- tests/FILEFORMAT.md: tidy up feature descriptions.
- printf: replace stray `%i` masks with `%d` for consistency.
- pytest: add comments for empty excepts to try silencing GitHub CodeQL
  warnings.
- tool1394, unit1675: merge nested `if`s.
- dnscache: fix typo in comment.
- fix whitespace, indent and newlines.

Closes #21921
2026-06-09 11:07:55 +02:00
..
curlx tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
vauth digest: escape control codes too 2026-06-09 09:20:47 +02:00
vquic tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
vssh tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
vtls tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
.gitignore
altsvc.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
asyn-ares.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
asyn-base.c resolve: pass bool for proxy resolves 2026-04-24 13:10:59 +02:00
asyn-thrdd.c asyn-thrdd: fix result processing without wakeup socketpair 2026-05-01 11:30:51 +02:00
asyn.h resolve: pass bool for proxy resolves 2026-04-24 13:10:59 +02:00
bufq.c
bufq.h tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
bufref.c
bufref.h
cf-dns.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
cf-dns.h ftp: remove 2 Curl_resolv_blocking() calls 2026-05-07 14:02:13 +02:00
cf-h1-proxy.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
cf-h1-proxy.h HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
cf-h2-proxy.c vquic: moving related things into subdir 2026-06-02 22:48:21 +02:00
cf-h2-proxy.h HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
cf-haproxy.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
cf-haproxy.h
cf-https-connect.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
cf-https-connect.h
cf-ip-happy.c vquic: moving related things into subdir 2026-06-02 22:48:21 +02:00
cf-ip-happy.h h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
cf-socket.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
cf-socket.h h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
cfilters.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
cfilters.h cfilters: remove close method 2026-06-02 08:27:00 +02:00
CMakeLists.txt cmake: unfold a line 2026-05-14 16:33:23 +02:00
config-mac.h
config-os400.h tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
config-riscos.h
config-win32.h
conncache.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
conncache.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
connect.c vquic: moving related things into subdir 2026-06-02 22:48:21 +02:00
connect.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
content_encoding.c tidy-up: drop stray casts for allocated pointers 2026-06-05 12:24:01 +02:00
content_encoding.h
cookie.c cookie: refactor parse_cookie_header 2026-06-03 09:42:52 +02:00
cookie.h cookie: constify struct pointers 2026-05-13 17:52:49 +02:00
creds.c data creds: detect change 2026-06-01 16:42:10 +02:00
creds.h data creds: detect change 2026-06-01 16:42:10 +02:00
cshutdn.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
cshutdn.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
curl_addrinfo.c badwords: prefer 'workaround' (without hyphen) 2026-05-31 22:05:54 +02:00
curl_addrinfo.h lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
curl_config-cmake.h.in HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
curl_ctype.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_fopen.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_fopen.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
curl_gssapi.h
curl_hmac.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_ldap.h
curl_md4.h
curl_md5.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_memrchr.c
curl_memrchr.h
curl_ntlm_core.c src: fix comment typos 2026-05-12 17:14:38 +02:00
curl_ntlm_core.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_printf.h
curl_range.c
curl_range.h
curl_sasl.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_sasl.h
curl_setup.h tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
curl_sha256.h
curl_sha512_256.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_sha512_256.h
curl_share.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
curl_share.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_sspi.c
curl_sspi.h windows: update MS SDK versions in comments 2026-05-15 03:41:33 +02:00
curl_threads.c
curl_threads.h
curl_trc.c vquic: moving related things into subdir 2026-06-02 22:48:21 +02:00
curl_trc.h
cw-out.c docs: tidy-up scheme references 2026-05-19 16:55:45 +02:00
cw-out.h
cw-pause.c
cw-pause.h
dict.c tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
dict.h
dllmain.c tidy-up: sort TLS backends, distros, alphabetically 2026-05-11 11:57:25 +02:00
dnscache.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
dnscache.h dnscache: remove Curl_dns_entry_link 2026-05-27 23:13:19 +02:00
doh.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
doh.h tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
dynhds.c
dynhds.h
easy.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
easy_lock.h
easygetopt.c
easyif.h
easyoptions.c
easyoptions.h
escape.c
escape.h
fake_addrinfo.c
fake_addrinfo.h
file.c
file.h
fileinfo.c
fileinfo.h
formdata.c
formdata.h
ftp-int.h tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
ftp.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
ftp.h
ftplistparser.c ftplistparser: clear strings.target if not symlink 2026-06-07 00:26:51 +02:00
ftplistparser.h
functypes.h
getenv.c
getinfo.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
getinfo.h
gopher.c badwords: prefer 'workaround' (without hyphen) 2026-05-31 22:05:54 +02:00
gopher.h
hash.c
hash.h
headers.c
headers.h
hmac.c
hostip.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
hostip.h hostip: convert Curl_resolv_unix to static resolv_unix 2026-05-05 17:49:12 +02:00
hostip4.c
hostip6.c
hsts.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
hsts.h hsts: rename Curl_hsts() to hsts_check() and make it static 2026-05-05 17:46:51 +02:00
http.c chunked: reject invalid bytes in trailer 2026-06-08 13:56:10 +02:00
http.h chunked: reject invalid bytes in trailer 2026-06-08 13:56:10 +02:00
http1.c
http1.h
http2.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
http2.h
http_aws_sigv4.c tidy-up: rename more CURLcode variables to result 2026-05-19 16:55:45 +02:00
http_aws_sigv4.h
http_chunks.c chunked: reject invalid bytes in trailer 2026-06-08 13:56:10 +02:00
http_chunks.h
http_digest.c creds: hold credentials 2026-05-12 16:05:15 +02:00
http_digest.h
http_negotiate.c creds: add sasl service name 2026-05-13 14:04:17 +02:00
http_negotiate.h
http_ntlm.c creds: add sasl service name 2026-05-13 14:04:17 +02:00
http_ntlm.h
http_proxy.c vquic: moving related things into subdir 2026-06-02 22:48:21 +02:00
http_proxy.h h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
httpsrr.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
httpsrr.h tidy-up: whitespace 2026-04-27 13:34:27 +02:00
idn.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
idn.h idn: replace header guards with forward declaration 2026-05-11 17:01:34 +02:00
if2ip.c
if2ip.h badwords: prefer 'workaround' (without hyphen) 2026-05-31 22:05:54 +02:00
imap.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
imap.h
ldap.c ldap: switch of chasing referrals 2026-05-25 17:02:43 +02:00
libcurl.def
libcurl.rc
libcurl.vers.in
llist.c llist: constify struct pointers 2026-05-13 17:40:42 +02:00
llist.h llist: constify struct pointers 2026-05-13 17:40:42 +02:00
macos.c
macos.h
Makefile.am
Makefile.inc vquic: moving related things into subdir 2026-06-02 22:48:21 +02:00
Makefile.soname
md4.c gnutls: fix more nettle 4+ compatibility issues 2026-05-12 05:33:08 +02:00
md5.c tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
memdebug.c
mime.c tidy-up: drop stray casts for allocated pointers 2026-06-05 12:24:01 +02:00
mime.h
mprintf.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
mqtt.c creds: hold credentials 2026-05-12 16:05:15 +02:00
mqtt.h
multi.c progress: fx CURLINFO time reporting 2026-06-07 14:39:10 +02:00
multi_ev.c multi_ev: silence clang-tidy nonsense 2026-05-26 13:01:30 +02:00
multi_ev.h
multi_ntfy.c
multi_ntfy.h
multihandle.h
multiif.h
netrc.c netrc: remember and check filename loaded 2026-06-08 13:53:02 +02:00
netrc.h netrc: scanner refactor 2026-05-18 15:18:09 +02:00
noproxy.c
noproxy.h
openldap.c creds: add sasl service name 2026-05-13 14:04:17 +02:00
optiontable.pl
parsedate.c GHA: enable -Wunused-macros in clang-tidy jobs 2026-05-16 01:17:41 +02:00
parsedate.h
peer.c HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
peer.h peer.h: fix typo in comment 2026-06-09 11:00:01 +02:00
pingpong.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
pingpong.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
pop3.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
pop3.h
progress.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
progress.h progress: fx CURLINFO time reporting 2026-06-07 14:39:10 +02:00
protocol.c websockets: auto-tunnel through http proxy 2026-05-20 11:50:35 +02:00
protocol.h websockets: auto-tunnel through http proxy 2026-05-20 11:50:35 +02:00
psl.c
psl.h
rand.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
rand.h tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
ratelimit.c
ratelimit.h
request.c progress: fx CURLINFO time reporting 2026-06-07 14:39:10 +02:00
request.h auth: cleanups 2026-05-07 14:03:00 +02:00
rtsp.c creds: hold credentials 2026-05-12 16:05:15 +02:00
rtsp.h
select.c
select.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
sendf.c progress: fx CURLINFO time reporting 2026-06-07 14:39:10 +02:00
sendf.h tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
setopt.c ssl native_ca_store: always reinit 2026-06-08 13:53:54 +02:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h
sha256.c tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
sigpipe.h
slist.c
slist.h
smb.c creds: hold credentials 2026-05-12 16:05:15 +02:00
smb.h
smtp.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
smtp.h
sockaddr.h
socketpair.c
socketpair.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
socks.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
socks.h creds: add sasl service name 2026-05-13 14:04:17 +02:00
socks_gssapi.c creds: add sasl service name 2026-05-13 14:04:17 +02:00
socks_sspi.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
splay.c
splay.h
strcase.c
strcase.h
strequal.c
strerror.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
strerror.h
system_win32.c
system_win32.h
telnet.c telnet: honor CURLOPT_TIMEOUT in send_telnet_data() 2026-06-02 11:43:00 +02:00
telnet.h
tftp.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
tftp.h
thrdpool.c tidy-up: rename more CURLcode variables to result 2026-05-19 16:55:45 +02:00
thrdpool.h
thrdqueue.c thrdqueue: make thrdq_await_done only for unit tests 2026-05-05 08:55:49 +02:00
thrdqueue.h thrdqueue.h: minor language polish in comments 2026-05-05 14:34:27 +02:00
transfer.c transfer: clear referer when set to NULL 2026-05-26 10:04:40 +02:00
transfer.h creds: hold credentials 2026-05-12 16:05:15 +02:00
uint-bset.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
uint-bset.h
uint-hash.c
uint-hash.h
uint-spbset.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
uint-spbset.h
uint-table.c
uint-table.h
url.c Revert "url: remove ssh_config_matches" 2026-06-08 09:09:58 +02:00
url.h lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
urlapi-int.h
urlapi.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
urldata.h vtls_config: adjust to origin 2026-06-01 09:39:17 +02:00
version.c h3-proxy: rename feature 'Proxy/PROXY-HTTP3' to 'proxy-HTTP3' 2026-05-28 12:52:50 +02:00
ws.c ws: make pong sending lazy 2026-06-09 11:05:34 +02:00
ws.h