curl/lib
Viktor Szakats 193cb00ce9
build: stop overriding standard memory allocation functions
Before this patch curl used the C preprocessor to override standard
memory allocation symbols: malloc, calloc, strdup, realloc, free.
The goal of these is to replace them with curl's debug wrappers in
`CURLDEBUG` builds, another was to replace them with the wrappers
calling user-defined allocators in libcurl. This solution needed a bunch
of workarounds to avoid breaking external headers: it relied on include
order to do the overriding last. For "unity" builds it needed to reset
overrides before external includes. Also in test apps, which are always
built as single source files. It also needed the `(symbol)` trick
to avoid overrides in some places. This would still not fix cases where
the standard symbols were macros. It was also fragile and difficult
to figure out which was the actual function behind an alloc or free call
in a specific piece of code. This in turn caused bugs where the wrong
allocator was accidentally called.

To avoid these problems, this patch replaces this solution with
`curlx_`-prefixed allocator macros, and mapping them _once_ to either
the libcurl wrappers, the debug wrappers or the standard ones, matching
the rest of the code in libtests.

This concludes the long journey to avoid redefining standard functions
in the curl codebase.

Note: I did not update `packages/OS400/*.c` sources. They did not
`#include` `curl_setup.h`, `curl_memory.h` or `memdebug.h`, meaning
the overrides were never applied to them. This may or may not have been
correct. For now I suppressed the direct use of standard allocators
via a local `.checksrc`. Probably they (except for `curlcl.c`) should be
updated to include `curl_setup.h` and use the `curlx_` macros.

This patch changes mappings in two places:
- `lib/curl_threads.c` in libtests: Before this patch it mapped to
  libcurl allocators. After, it maps to standard allocators, like
  the rest of libtests code.
- `units`: before this patch it mapped to standard allocators. After, it
  maps to libcurl allocators.

Also:
- drop all position-dependent `curl_memory.h` and `memdebug.h` includes,
  and delete the now unnecessary headers.
- rename `Curl_tcsdup` macro to `curlx_tcsdup` and define like the other
  allocators.
- map `curlx_strdup()` to `_strdup()` on Windows (was: `strdup()`).
  To fix warnings silenced via `_CRT_NONSTDC_NO_DEPRECATE`.
- multibyte: map `curlx_convert_*()` to `_strdup()` on Windows
  (was: `strdup()`).
- src: do not reuse the `strdup` name for the local replacement.
- lib509: call `_strdup()` on Windows (was: `strdup()`).
- test1132: delete test obsoleted by this patch.
- CHECKSRC.md: update text for `SNPRINTF`.
- checksrc: ban standard allocator symbols.

Follow-up to b12da22db1 #18866
Follow-up to db98daab05 #18844
Follow-up to 4deea9396b #18814
Follow-up to 9678ff5b1b #18776
Follow-up to 10bac43b87 #18774
Follow-up to 20142f5d06 #18634
Follow-up to bf7375ecc5 #18503
Follow-up to 9863599d69 #18502
Follow-up to 3bb5e58c10 #17827

Closes #19626
2025-11-28 10:44:26 +01:00
..
curlx build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
vauth build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
vquic build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
vssh build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
vtls build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
.gitignore unit tests: extract "private" prototypes at build time 2025-06-30 23:16:40 +02:00
altsvc.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
altsvc.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
amigaos.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
amigaos.h tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
arpa_telnet.h badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
asyn-ares.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
asyn-base.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
asyn-thrdd.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
asyn.h hostip: make more functions return CURLcode 2025-11-25 09:13:34 +01:00
bufq.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
bufq.h bufq: use uint8_t 2025-11-25 16:47:13 +01:00
bufref.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +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 build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cf-h1-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-h2-proxy.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cf-h2-proxy.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
cf-haproxy.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cf-haproxy.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
cf-https-connect.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cf-https-connect.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
cf-ip-happy.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cf-ip-happy.h ip_quadruple/proxy: make port uint16_t 2025-11-27 14:32:01 +01:00
cf-socket.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cf-socket.h ip_quadruple/proxy: make port uint16_t 2025-11-27 14:32:01 +01:00
cfilters.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cfilters.h cfilter: send uint8_t bytes 2025-11-27 16:03:21 +01:00
CMakeLists.txt cmake: honor CURL_DISABLE_INSTALL and CURL_ENABLE_EXPORT_TARGET in lib and src 2025-11-20 00:23:08 +01:00
config-mac.h build: stop checking for sys/stat.h 2025-06-24 09:44:28 +02:00
config-os400.h lib: fix gssapi.h include on IBMi 2025-11-08 10:25:12 +01:00
config-plan9.h build: stop checking for sys/stat.h 2025-06-24 09:44:28 +02:00
config-riscos.h build: stop checking for sys/stat.h 2025-06-24 09:44:28 +02:00
config-win32.h build: drop support for VS2008 (Windows) 2025-11-15 15:56:19 +01:00
conncache.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
conncache.h multi: add CURLMOPT_NETWORK_CHANGED to signal network changed 2025-07-29 11:18:26 +02:00
connect.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
connect.h ip_quadruple/proxy: make port uint16_t 2025-11-27 14:32:01 +01:00
content_encoding.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
content_encoding.h content_encoding: make Curl_all_content_encodings allocless 2023-11-07 16:35:30 +01:00
cookie.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cookie.h cookie: propagate errors better, cleanup the internal API 2025-11-13 10:07:24 +01:00
cshutdn.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cshutdn.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
curl_addrinfo.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_addrinfo.h hostip: make more functions return CURLcode 2025-11-25 09:13:34 +01:00
curl_config.h.cmake cmake: add support for libbacktrace, fix two build issues 2025-11-24 14:29:29 +01:00
curl_ctype.h strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01: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: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_fnmatch.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
curl_fopen.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_fopen.h build: avoid overriding system symbols for fopen functions 2025-09-30 01:10:36 +02:00
curl_get_line.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_get_line.h curl_get_line: enhance the API 2025-10-19 16:25:11 +02:00
curl_gethostname.c badwords: check indented lines in source code, fix fallouts 2025-11-15 13:25:02 +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: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_gssapi.h gssapi: make channel binding conditional on GSS_C_CHANNEL_BOUND_FLAG 2025-11-03 18:16:54 +01:00
curl_hmac.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_ldap.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_md4.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
curl_md5.h tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
curl_memrchr.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_memrchr.h urlapi: fix redirect from file:// with query, and simplify 2025-02-27 11:51:19 +01:00
curl_ntlm_core.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_ntlm_core.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
curl_printf.h lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
curl_range.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02: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: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_rtmp.h curl_version_info: provide librtmp version 2024-04-15 16:48:34 +02:00
curl_sasl.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_sasl.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
curl_setup.h build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_setup_once.h build: drop support for VS2008 (Windows) 2025-11-15 15:56:19 +01:00
curl_sha256.h tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
curl_sha512_256.c types: remove curl_int64_t/curl_uint64_t 2025-11-26 13:53:53 +01:00
curl_sha512_256.h curl_sha512_256: fix symbol collisions with nettle library 2024-08-13 10:04:06 +02:00
curl_share.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_share.h lib: rename internal header share.h to curl_share.h to avoid collision 2025-11-25 00:26:50 +01:00
curl_sspi.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_sspi.h build: drop Windows CE / CeGCC support 2025-11-15 15:35:23 +01:00
curl_threads.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_threads.h windows: replace _beginthreadex() with CreateThread() 2025-09-20 01:28:35 +02:00
curl_trc.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
curl_trc.h ip-happy: do not set unnecessary timeout 2025-10-01 08:01:47 +02:00
cw-out.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cw-out.h lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
cw-pause.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
cw-pause.h lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
dict.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
dict.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
dllmain.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
doh.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
doh.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
dynhds.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
dynhds.h spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
easy.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
easy_lock.h tidy-up: avoid using the reserved macro namespace 2025-09-20 02:27:06 +02:00
easygetopt.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
easyif.h WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
easyoptions.c TLS: add CURLOPT_SSL_SIGNATURE_ALGORITHMS and --sigalgs 2025-04-30 17:47:22 +02:00
easyoptions.h lib: make Curl_easyopts const 2025-04-03 13:43:26 -07:00
escape.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
escape.h urlapi: use uppercase hex encoding 2025-06-25 11:44:13 +02:00
fake_addrinfo.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
fake_addrinfo.h lib: provide a getaddrinfo wrapper 2025-04-28 23:48:02 +02:00
file.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
file.h file: use easy handle meta for protocol struct 2025-05-08 13:18:45 +02:00
fileinfo.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
fileinfo.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
formdata.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
formdata.h formdata: cleanups 2025-05-19 13:26:02 +02:00
ftp.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
ftp.h badwords: fix two exceptions and drop them 2025-11-14 17:32:04 +01:00
ftplistparser.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
ftplistparser.h lib: refactor the type of funcs which have useless return and checks 2025-11-07 13:01:39 +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: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
getinfo.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
getinfo.h lib: refactor the type of funcs which have useless return and checks 2025-11-07 13:01:39 +01:00
gopher.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
gopher.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hash.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
hash.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00
headers.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
headers.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
hmac.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
hostip.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
hostip.h asyn-thrdd: drop pthread_cancel 2025-09-15 09:25:43 +02:00
hostip4.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
hostip6.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
hsts.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
hsts.h hsts: propagate and error out correctly on OOM 2025-11-18 16:40:32 +01:00
http.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http.h ratelimit: redesign 2025-11-24 23:34:05 +01:00
http1.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http1.h http: eliminate ssize_t 2025-11-19 16:20:18 +01:00
http2.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http2.h lib: clarify 'conn->httpversion' 2025-01-24 10:59:02 +01:00
http_aws_sigv4.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http_aws_sigv4.h license: update some copyright links to curl.se 2025-06-01 13:44:15 +02:00
http_chunks.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http_chunks.h spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
http_digest.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http_digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_negotiate.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http_negotiate.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
http_ntlm.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http_ntlm.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
http_proxy.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
http_proxy.h lib: refactor the type of funcs which have useless return and checks 2025-11-07 13:01:39 +01:00
httpsrr.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
httpsrr.h httpsrr: send HTTPS query to the right target 2025-11-01 23:13:30 +01:00
idn.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
idn.h idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
if2ip.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
if2ip.h code: minor indent fixes before closing braces 2025-11-13 17:27:40 +01:00
imap.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
imap.h imap: use easy handle/connection meta for proto structs 2025-05-07 10:25:18 +02:00
ldap.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
libcurl.def multi: add notifications API 2025-10-07 10:55:31 +02: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: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
llist.h misc: fix typos 2025-07-12 08:59:44 +02: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 lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
Makefile.inc build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
Makefile.soname tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
md4.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
md5.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
memdebug.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
mime.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
mime.h curlx: promote Curl_fseeko() to curlx_fseek(), use it in src 2025-10-18 02:25:10 +02:00
mprintf.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
mqtt.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
mqtt.h mqtt: use conn/easy meta hash 2025-04-29 14:25:25 +02:00
multi.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
multi_ev.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
multi_ev.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
multi_ntfy.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
multi_ntfy.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
multihandle.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
multiif.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
netrc.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
netrc.h tests: constify command-line arguments 2025-07-29 13:44:50 +02:00
noproxy.c noproxy: replace atoi with curlx_str_number 2025-11-12 10:30:59 +01:00
noproxy.h noproxy: patterns need to be comma separated 2024-06-01 12:25:13 +02:00
openldap.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
optiontable.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
parsedate.c tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
parsedate.h parsedate: make Curl_getdate_capped able to return epoch 2025-09-02 07:55:34 +02:00
pingpong.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
pingpong.h pingpong: change repsonse timeout to one minute 2025-10-27 16:33:30 +01:00
pop3.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
pop3.h pop3: use meta hashes at easy handle and connection 2025-05-06 09:08:47 +02:00
progress.c speedlimit: also reset on send unpausing 2025-11-25 11:01:37 +01:00
progress.h speedlimit: also reset on send unpausing 2025-11-25 11:01:37 +01:00
psl.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
psl.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
rand.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
rand.h vtls/rustls: support strong CSRNG data 2024-09-13 14:11:56 +02:00
ratelimit.c ratelimit: remove a debug mprintf 2025-11-25 12:01:41 +01:00
ratelimit.h ratelimit: redesign 2025-11-24 23:34:05 +01:00
rename.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
rename.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
request.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
request.h ratelimit: redesign 2025-11-24 23:34:05 +01:00
rtsp.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
rtsp.h rtsp: move easy handle/connection protoocol structs into meta data 2025-05-06 17:13:24 +02:00
select.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
select.h ratelimit: redesign 2025-11-24 23:34:05 +01:00
sendf.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
sendf.h websocket: improve handling of 0-len frames 2025-08-28 11:00:02 +02:00
setopt.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
setopt.h tls: make default TLS version be minimum 1.2 2025-07-27 18:23:04 +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 vtls: remove call to PKCS12_PBE_add() 2025-10-23 14:13:26 +02:00
setup-win32.h windows: drop redundant curl_wcsdup_callback callback 2025-07-08 13:33:38 +02:00
sha256.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
sigpipe.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
slist.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
slist.h slist: constify Curl_slist_append_nodup() string argument 2025-11-25 11:05:48 +01:00
smb.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
smb.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
smtp.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
smtp.h smtp: use easy handle/connectin meta for proto structs 2025-05-07 16:01:05 +02:00
sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
socketpair.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
socketpair.h vquic: drop msh3 2025-07-27 17:57:17 +02:00
socks.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
socks.h socks: make Curl_blockread_all return CURLcode 2025-09-20 15:15:13 +02:00
socks_gssapi.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
socks_sspi.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
splay.c splay: add another assert for detected usage problem 2025-08-06 08:42:39 +02:00
splay.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
strcase.c code: minor indent fixes before closing braces 2025-11-13 17:27:40 +01:00
strcase.h lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
strdup.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
strdup.h lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strequal.c tidy-up: move literal to the right side of comparisons 2025-07-27 22:35:17 +02:00
strerror.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
strerror.h windows: use native error code types more 2025-10-06 12:12:44 +02:00
system_win32.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
system_win32.h windows: reduce/stop loading DLLs at runtime 2025-06-11 05:39:09 +02:00
telnet.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
telnet.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tftp.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
tftp.h setopt: check CURLOPT_TFTP_BLKSIZE range on set 2023-11-22 07:44:05 +01:00
transfer.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
transfer.h ratelimit: redesign 2025-11-24 23:34:05 +01:00
uint-bset.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
uint-bset.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
uint-hash.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
uint-hash.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
uint-spbset.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
uint-spbset.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
uint-table.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
uint-table.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
url.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
url.h url: make Curl_init_userdefined return void 2025-10-05 22:58:20 +02:00
urlapi-int.h test1658: add unit test for the HTTPS RR decoder 2025-04-05 21:03:47 +02:00
urlapi.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
urldata.h ip_quadruple/proxy: make port uint16_t 2025-11-27 14:32:01 +01:00
version.c lib: fix gssapi.h include on IBMi 2025-11-08 10:25:12 +01:00
ws.c build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
ws.h ws: store protocol context as connection meta data 2025-04-28 09:15:05 +02:00