From 46441955bfcce0c92e90e3e65b465df0c9577682 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Dec 2022 12:45:20 +0100 Subject: [PATCH] CURLOPT_DEBUGFUNCTION.3: emphasize that incoming data is "raw" Closes #10106 --- docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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