curl/lib
Viktor Szakats f4e23950c7
build: enable -Wcast-qual, fix or silence compiler warnings
The issues found fell into these categories, with the applied fixes:

- const was accidentally stripped.
  Adjust code to not cast or cast with const.

- const/volatile missing from arguments, local variables.
  Constify arguments or variables, adjust/delete casts. Small code
  changes in a few places.

- const must be stripped because an API dependency requires it.
  Strip `const` with `CURL_UNCONST()` macro to silence the warning out
  of our control. These happen at API boundaries. Sometimes they depend
  on dependency version, which this patch handles as necessary. Also
  enable const support for the zlib API, using `ZLIB_CONST`. Supported
  by zlib 1.2.5.2 and newer.

- const must be stripped because a curl API requires it.
  Strip `const` with `CURL_UNCONST()` macro to silence the warning out
  of our immediate control. For example we promise to send a non-const
  argument to a callback, though the data is const internally.

- other cases where we may avoid const stripping by code changes.
  Also silenced with `CURL_UNCONST()`.

- there are 3 places where `CURL_UNCONST()` is cast again to const.
  To silence this type of warning:
  ```
  lib/vquic/curl_osslq.c:1015:29: error: to be safe all intermediate
    pointers in cast from 'unsigned char **' to 'const unsigned char **'
    must be 'const' qualified [-Werror=cast-qual]
  lib/cf-socket.c:734:32: error: to be safe all intermediate pointers in
    cast from 'char **' to 'const char **' must be 'const' qualified
    [-Werror=cast-qual]
  ```
  There may be a better solution, but I couldn't find it.

These cases are handled in separate subcommits, but without further
markup.

If you see a `-Wcast-qual` warning in curl, we appreciate your report
about it.

Closes #16142
2025-03-10 22:30:15 +01:00
..
vauth build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
vquic build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
vssh build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
vtls build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
.checksrc lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
.gitignore gitignore: add lib/Makefile.soname.cmake 2025-01-28 16:04:29 +01:00
altsvc.c lib: replace while(ISBLANK()) loops with Curl_str_passblanks() 2025-03-03 10:56:09 +01:00
altsvc.h doh: send HTTPS RR requests for all HTTP(S) transfers 2025-01-15 12:55:15 +01:00
amigaos.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
amigaos.h tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
arpa_telnet.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
asyn-ares.c asyn: bring back port to the Curl_async struct 2025-03-02 10:51:00 +01:00
asyn-thread.c tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
asyn.h multi: event based rework 2025-02-22 14:47:40 +01:00
base64.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
bufq.c websocket: fix message send corruption 2025-01-16 16:19:07 -05:00
bufq.h websocket: fix message send corruption 2025-01-16 16:19:07 -05:00
bufref.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
bufref.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
cf-h1-proxy.c lib: rename curlx_strtoofft to Curl_str_numblanks() 2025-03-10 10:39:20 +01:00
cf-h1-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-h2-proxy.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
cf-h2-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-haproxy.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
cf-haproxy.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-https-connect.c http: negotiation and room for alt-svc/https rr to navigate 2025-02-20 15:45:46 +01:00
cf-https-connect.h hyper: drop support 2024-12-21 11:33:05 +01:00
cf-socket.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
cf-socket.h cf-socket: error if address can't be copied 2024-12-22 03:12:35 -05:00
cfilters.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
cfilters.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
CMakeLists.txt cmake: CURL_LIBDIRS improvements (upstreamed from vcpkg) 2025-03-07 13:48:07 +01:00
config-mac.h config-mac: drop MACOS_SSL_SUPPORT macro 2024-12-20 11:38:59 +01:00
config-os400.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-plan9.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-riscos.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-win32.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
conncache.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
conncache.h shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
connect.c shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
connect.h shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
content_encoding.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
content_encoding.h content_encoding: make Curl_all_content_encodings allocless 2023-11-07 16:35:30 +01:00
cookie.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
cookie.h cookie: small variable type cleanups 2025-01-07 16:47:18 +01:00
cshutdn.c shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
cshutdn.h shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
curl_addrinfo.c addrinfo: add curl macro to avoid redefining foreign symbols 2025-02-13 12:46:39 +01:00
curl_addrinfo.h curl_addrinfo: support operating systems with only getaddrinfo(3) 2024-11-02 22:28:59 +01:00
curl_base64.h tool: add "variable" support 2023-07-31 11:51:34 +02:00
curl_config.h.cmake build: set HAVE_STDINT_H if stdint.h is available 2025-03-06 13:17:15 +01:00
curl_ctype.h strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
curl_des.c lib: fix building with wolfSSL without DES support 2024-08-13 09:28:27 +02:00
curl_des.h lib: fix building with wolfSSL without DES support 2024-08-13 09:28:27 +02:00
curl_endian.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
curl_endian.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_fnmatch.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_fnmatch.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
curl_get_line.c vtls: feature ssls-export for SSL session im-/export 2025-01-08 23:32:07 +01:00
curl_get_line.h vtls: feature ssls-export for SSL session im-/export 2025-01-08 23:32:07 +01:00
curl_gethostname.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl_gethostname.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_gssapi.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_gssapi.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_hmac.h sha256/hmac: use these with TLS builds now 2025-01-14 12:13:59 +01:00
curl_krb5.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_ldap.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_md4.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_md5.h lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_memory.h addrinfo: add curl macro to avoid redefining foreign symbols 2025-02-13 12:46:39 +01:00
curl_memrchr.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_memrchr.h urlapi: fix redirect from file:// with query, and simplify 2025-02-27 11:51:19 +01:00
curl_multibyte.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_multibyte.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_ntlm_core.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_ntlm_core.h cmake: fix building unit1600 due to missing ssl/openssl.h 2024-07-13 12:00:14 +02:00
curl_printf.h printf: fix mingw-w64 format checks 2024-09-02 21:03:01 +02:00
curl_range.c strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
curl_range.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_rtmp.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_rtmp.h curl_version_info: provide librtmp version 2024-04-15 16:48:34 +02:00
curl_sasl.c lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
curl_sasl.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
curl_setup.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_setup_once.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_sha256.h sha256/hmac: use these with TLS builds now 2025-01-14 12:13:59 +01:00
curl_sha512_256.c tidy-up: delete, comment or scope C macros reported unused 2025-02-14 10:37:14 +01:00
curl_sha512_256.h curl_sha512_256: fix symbol collisions with nettle library 2024-08-13 10:04:06 +02:00
curl_sspi.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_sspi.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_threads.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_threads.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_trc.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_trc.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curlx.h lib: rename curlx_strtoofft to Curl_str_numblanks() 2025-03-10 10:39:20 +01:00
cw-out.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
cw-out.h cw-out: improved error handling 2024-04-16 15:52:10 +02:00
cw-pause.c client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
cw-pause.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
dict.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
dict.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
dllmain.c dllmain: Call OpenSSL thread cleanup for Windows and Cygwin 2024-04-24 04:04:25 -04:00
doh.c doh: improve HTTPS RR svcparams parsing 2025-03-07 00:06:17 +01:00
doh.h https-rr: implementation improvements 2025-02-18 16:12:26 +01:00
dynbuf.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
dynbuf.h lib: TLS session ticket caching reworked 2024-12-20 14:59:23 +01:00
dynhds.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
dynhds.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
easy.c easy: fix warning about possible comma misuse 2025-03-10 10:38:04 +01:00
easy_lock.h easy_lock: use Sleep(1) for thread yield on old Windows 2025-01-21 01:45:21 -05:00
easygetopt.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
easyif.h WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
easyoptions.c IMAP: add CURLOPT_UPLOAD_FLAGS and --upload-flags 2025-03-04 15:21:16 +01:00
easyoptions.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
escape.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
escape.h lib: provide and use Curl_hexencode 2023-09-30 11:45:39 +02:00
file.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
file.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
fileinfo.c ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fileinfo.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
fopen.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
fopen.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
formdata.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
formdata.h curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
ftp.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
ftp.h ftp: fix comment 2025-03-03 18:21:33 -05:00
ftplistparser.c lib: rename curlx_strtoofft to Curl_str_numblanks() 2025-03-10 10:39:20 +01:00
ftplistparser.h wildcard: remove files and move functions into ftplistparser.c 2023-03-03 23:25:30 +01:00
functypes.h Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
getenv.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
getinfo.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
getinfo.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gopher.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
gopher.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hash.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
hash.h hash_offt: standalone hash for curl_off_t 2025-03-01 18:42:10 +01:00
hash_offt.c hash_offt: standalone hash for curl_off_t 2025-03-01 18:42:10 +01:00
hash_offt.h hash_offt: standalone hash for curl_off_t 2025-03-01 18:42:10 +01:00
headers.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
headers.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
hmac.c sha256/hmac: use these with TLS builds now 2025-01-14 12:13:59 +01:00
hostasyn.c asyn: bring back port to the Curl_async struct 2025-03-02 10:51:00 +01:00
hostip.c hostip: don't use alarm() for DoH resolves 2025-03-10 13:17:18 +01:00
hostip.h tidy-up: drop unused CURL_INADDR_NONE macro and in_addr_t type 2025-02-13 12:46:40 +01:00
hostip4.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
hostip6.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
hostsyn.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hsts.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
hsts.h strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
http.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
http.h http: split Curl_http_input_auth into sub functions 2025-02-21 14:46:55 +01:00
http1.c all: remove FIXME and TODO comments 2025-02-10 14:44:06 +01:00
http1.h http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
http2.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
http2.h lib: clarify 'conn->httpversion' 2025-01-24 10:59:02 +01:00
http_aws_sigv4.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
http_aws_sigv4.h http_aws_sigv4: cannot be used for proxy 2025-03-05 11:50:06 +01:00
http_chunks.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
http_chunks.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
http_digest.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
http_digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_negotiate.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
http_negotiate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_ntlm.c lib: replace while(ISBLANK()) loops with Curl_str_passblanks() 2025-03-03 10:56:09 +01:00
http_ntlm.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
http_proxy.c lib: replace while(ISBLANK()) loops with Curl_str_passblanks() 2025-03-03 10:56:09 +01:00
http_proxy.h http_proxy: move dynhds_add_custom here from http.c 2024-12-03 15:02:58 +01:00
httpsrr.c httpsrr: fix the HTTPS-RR threaded-resolver build combo 2025-02-20 09:40:53 +01:00
httpsrr.h https-rr: implementation improvements 2025-02-18 16:12:26 +01:00
idn.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
idn.h idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
if2ip.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
if2ip.h if2ip: make the buf_size arg a size_t 2024-04-30 14:22:11 +02:00
imap.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
imap.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
inet_ntop.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
inet_ntop.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
inet_pton.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
inet_pton.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
krb5.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
ldap.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
libcurl.def vtls: feature ssls-export for SSL session im-/export 2025-01-08 23:32:07 +01:00
libcurl.rc (lib)curl.rc: set debug flag also for CURLDEBUG and UNITTESTS 2024-05-22 08:38:12 +02:00
libcurl.vers.in build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
llist.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
llist.h lib: TLS session ticket caching reworked 2024-12-20 14:59:23 +01:00
macos.c docs: use lowercase curl and libcurl 2025-01-02 17:15:54 +01:00
macos.h macOS: fix target detection more 2023-07-29 23:42:53 +02:00
Makefile.am GHA/linux: build out-of-tree, make autotools tidy target support it 2025-02-26 12:35:03 +01:00
Makefile.inc lib: rename curlx_strtoofft to Curl_str_numblanks() 2025-03-10 10:39:20 +01:00
Makefile.soname build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
md4.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
md5.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
memdebug.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
memdebug.h addrinfo: add curl macro to avoid redefining foreign symbols 2025-02-13 12:46:39 +01:00
mime.c tidy-up: use CURL_ARRAYSIZE() 2025-02-19 00:59:45 +01:00
mime.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
mprintf.c mprintf: switch three number parsers to use strparse 2025-03-10 09:01:04 +01:00
mqtt.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
mqtt.h mqtt, remove remaining use of data->state.buffer 2024-01-27 12:42:19 +01:00
multi.c lib: clear up CURLRES_ASYNCH vs USE_CURL_ASYNC use 2025-03-10 13:15:20 +01:00
multi_ev.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
multi_ev.h hash_offt: standalone hash for curl_off_t 2025-03-01 18:42:10 +01:00
multihandle.h shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
multiif.h multi: event based rework 2025-02-22 14:47:40 +01:00
netrc.c lib: replace while(ISBLANK()) loops with Curl_str_passblanks() 2025-03-03 10:56:09 +01:00
netrc.h netrc: return code cleanup, fix missing file error 2025-02-06 10:34:02 +01:00
nonblock.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
nonblock.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
noproxy.c lib: replace while(ISBLANK()) loops with Curl_str_passblanks() 2025-03-03 10:56:09 +01:00
noproxy.h noproxy: patterns need to be comma separated 2024-06-01 12:25:13 +02:00
openldap.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
optiontable.pl tidy-up: drop parenthesis around return expression 2025-01-14 12:11:42 +01:00
parsedate.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
parsedate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
pingpong.c shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
pingpong.h lib: use Curl_str_number() for parsing decimal numbers 2025-02-14 10:38:56 +01:00
pop3.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
pop3.h pop3: use the protocol handler ->write_resp 2024-08-26 14:59:50 +02:00
progress.c tidy-up: drop parenthesis around return expression 2025-01-14 12:11:42 +01:00
progress.h TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
psl.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
psl.h curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
rand.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
rand.h vtls/rustls: support strong CSRNG data 2024-09-13 14:11:56 +02:00
rename.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
rename.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
request.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
request.h lib: clarify 'conn->httpversion' 2025-01-24 10:59:02 +01:00
rtsp.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
rtsp.h hyper: drop support 2024-12-21 11:33:05 +01:00
select.c tests/server: sync wait_ms() with the libcurl implementation 2025-03-09 12:04:30 +01:00
select.h cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
sendf.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
sendf.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
setopt.c setopt: illegal CURLOPT_SOCKS5_AUTH should return error 2025-03-07 23:32:31 +01:00
setopt.h setopt: warn on Curl_set*opt() uses not using the return value 2024-05-12 17:27:51 +02:00
setup-os400.h os400: workaround an IBM ASCII run-time library bug 2024-07-27 00:17:13 +02:00
setup-vms.h openssl: drop support for old OpenSSL/LibreSSL versions 2025-02-21 12:02:35 +01:00
setup-win32.h windows: drop code and curl manifest targeting W2K and older 2025-02-24 21:00:31 +01:00
sha256.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
share.c shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
share.h shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
sigpipe.h transfer: Curl_sendrecv() and event related improvements 2024-08-17 10:52:53 +02:00
slist.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
slist.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
smb.c tidy-up: delete, comment or scope C macros reported unused 2025-02-14 10:37:14 +01:00
smb.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
smtp.c conn: fix connection reuse when SSL is optional 2025-02-20 16:23:35 +01:00
smtp.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
socketpair.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
socketpair.h eventfd: allow for all CPUs 2025-02-21 12:07:24 +01:00
socks.c lib: clear up CURLRES_ASYNCH vs USE_CURL_ASYNC use 2025-03-10 13:15:20 +01:00
socks.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
socks_gssapi.c lib: supress deprecation warnings in apple builds 2024-12-17 14:54:34 +01:00
socks_sspi.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
speedcheck.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
speedcheck.h tests: fix callback signatures to please UndefinedBehaviorSanitizer 2024-10-15 14:33:47 +02:00
splay.c source: avoid use of 'very' in comments 2024-10-17 13:36:33 +02:00
splay.h splay: use access functions, add asserts, use Curl_timediff 2024-08-16 09:12:13 +02:00
strcase.c strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
strcase.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strdup.c http: convert parsers to strparse 2025-02-24 10:02:40 +01:00
strdup.h lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strequal.c strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
strerror.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
strerror.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
strparse.c lib: rename curlx_strtoofft to Curl_str_numblanks() 2025-03-10 10:39:20 +01:00
strparse.h lib: rename curlx_strtoofft to Curl_str_numblanks() 2025-03-10 10:39:20 +01:00
system_win32.c tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
system_win32.h tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
telnet.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
telnet.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tftp.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
tftp.h setopt: check CURLOPT_TFTP_BLKSIZE range on set 2023-11-22 07:44:05 +01:00
timediff.c timediff: remove unnecessary double typecast 2025-02-17 16:10:34 +01:00
timediff.h lib: use FMT_ as prefix instead of CURL_FORMAT_ 2024-09-03 08:45:45 +02:00
timeval.c tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
timeval.h multi: round the timeout up to prevent early wakeups 2023-09-28 09:52:20 +02:00
transfer.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
transfer.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
url.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
url.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
urlapi-int.h build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
urlapi.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
urldata.h lib: clear up CURLRES_ASYNCH vs USE_CURL_ASYNC use 2025-03-10 13:15:20 +01:00
version.c tidy-up: delete, comment or scope C macros reported unused 2025-02-14 10:37:14 +01:00
version_win32.c tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
version_win32.h tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
warnless.c tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
warnless.h tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
ws.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
ws.h ws: corrected curlws_cont to reflect its documented purpose 2025-03-06 16:38:05 +01:00