mirror of
https://github.com/curl/curl.git
synced 2026-08-26 07:33:31 +03:00
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
This commit is contained in:
parent
5cf5bfcd13
commit
db91dbbf2c
29 changed files with 656 additions and 466 deletions
|
|
@ -58,6 +58,8 @@ CURLcode Curl_http2_switch(struct Curl_easy *data,
|
|||
struct connectdata *conn, int sockindex,
|
||||
const char *ptr, size_t nread);
|
||||
|
||||
extern struct Curl_cftype Curl_cft_nghttp2;
|
||||
|
||||
#else /* USE_NGHTTP2 */
|
||||
|
||||
#define Curl_conn_is_http2(a,b,c) FALSE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue