From: Daniel Stenberg Date: Fri, 16 Dec 2022 11:45:20 +0000 (+0100) Subject: CURLOPT_DEBUGFUNCTION.3: emphasize that incoming data is "raw" X-Git-Tag: curl-7_87_0~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46441955bfcce0c92e90e3e65b465df0c9577682;p=thirdparty%2Fcurl.git CURLOPT_DEBUGFUNCTION.3: emphasize that incoming data is "raw" Closes #10106 --- diff --git a/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 b/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 index 505be67514..7ef3e48f7d 100644 --- a/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 @@ -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