]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_DEBUGFUNCTION.3: emphasize that incoming data is "raw"
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Dec 2022 11:45:20 +0000 (12:45 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Dec 2022 14:02:38 +0000 (15:02 +0100)
Closes #10106

docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3

index 505be6751492257d19485ca4c8280505375b3b16..7ef3e48f7d33198292e27da7cdb35c8ea30921c6 100644 (file)
@@ -69,7 +69,10 @@ The data is header (or header-like) data received from the peer.
 .IP CURLINFO_HEADER_OUT
 The data is header (or header-like) data sent to the peer.
 .IP CURLINFO_DATA_IN
-The data is protocol data received from the peer.
+The data is the unprocessed protocol data received from the peer. Even if the
+data is encoded or compressed, it will not be provided decoded nor
+decompressed to this callback. If you need the data in decoded and
+decompressed form, use \fICURLOPT_WRITEFUNCTION(3)\fP.
 .IP CURLINFO_DATA_OUT
 The data is protocol data sent to the peer.
 .IP CURLINFO_SSL_DATA_OUT