ftp: add tracing support

- add `Curl_trc_feat_ftp` for tracing via trace config
- add macro CURL_TRC_FTP(data, fmt, ...)
- replace DEBUGF(infof()) statements in ftp.c by CURL_TRC_FTP()
- always trace FTP connection state

Closes #13580
This commit is contained in:
Stefan Eissing 2024-05-10 12:59:12 +02:00 committed by Daniel Stenberg
parent 7b5bacdd0a
commit b7c7dffe35
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 153 additions and 93 deletions

View file

@ -74,6 +74,10 @@ Tracing of TCP socket handling: connect, sends, receives.
Tracing of SSL/TLS operations, whichever SSL backend is used in your build.
## `ftp`
Tracing of FTP operations when this protocol is enabled in your build.
## `http/2`
Details about HTTP/2 handling: frames, events, I/O, etc.