]> git.ipfire.org Git - thirdparty/curl.git/commit
curl_log: for failf/infof and debug logging implementations
authorStefan Eissing <stefan@eissing.org>
Wed, 11 Jan 2023 09:30:42 +0000 (10:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 12 Jan 2023 09:14:17 +0000 (10:14 +0100)
commitdb91dbbf2c0a853670ce0246d6d6579e6b0f6c0c
tree4ed1851abd435b1175280bdc70a254c2b99c45f6
parent5cf5bfcd134c1378af6dbae723abf88e309117df
curl_log: for failf/infof and debug logging implementations

 - new functions and macros for cfilter debugging
 - set CURL_DEBUG with names of cfilters where debug logging should be
   enabled
 - use GNUC __attribute__ to enable printf format checks during compile

Closes #10271
29 files changed:
lib/Makefile.inc
lib/cf-socket.c
lib/cf-socket.h
lib/cfilters.c
lib/cfilters.h
lib/connect.c
lib/connect.h
lib/curl_log.c [new file with mode: 0644]
lib/curl_log.h [new file with mode: 0644]
lib/easy.c
lib/http2.c
lib/http2.h
lib/http_proxy.c
lib/http_proxy.h
lib/sendf.c
lib/sendf.h
lib/socks.c
lib/socks.h
lib/urldata.h
lib/vquic/curl_msh3.c
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_quiche.c
lib/vquic/vquic.h
lib/vtls/mbedtls.c
lib/vtls/openssl.c
lib/vtls/rustls.c
lib/vtls/sectransp.c
lib/vtls/vtls.c
lib/vtls/vtls.h