mirror of
https://github.com/curl/curl.git
synced 2026-07-26 17:37:16 +03:00
lib: add trace support for client reads and writes
- add `CURL_TRC_READ()` and `CURL_TRC_WRITE()` - use in generic client writers and readers, as well as http headers, chunking and websockets Closes #13223
This commit is contained in:
parent
f46385d36d
commit
0b28ece657
9 changed files with 188 additions and 51 deletions
|
|
@ -68,7 +68,7 @@ that.
|
|||
|
||||
## `tcp`
|
||||
|
||||
Tracing of TCP socket handling: connect, reads, writes.
|
||||
Tracing of TCP socket handling: connect, sends, receives.
|
||||
|
||||
## `ssl`
|
||||
|
||||
|
|
@ -96,6 +96,14 @@ trace.
|
|||
|
||||
Tracing of DNS-over-HTTP operations to resolve hostnames.
|
||||
|
||||
## `read`
|
||||
|
||||
Traces reading of upload data from the application in order to send it to the server.
|
||||
|
||||
## `write`
|
||||
|
||||
Traces writing of download data, received from the server, to the application.
|
||||
|
||||
# EXAMPLE
|
||||
|
||||
~~~c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue