aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/pop3-ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/pop3-ssl.c')
-rw-r--r--docs/examples/pop3-ssl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/examples/pop3-ssl.c b/docs/examples/pop3-ssl.c
index 81d4c2af1..45e0054b6 100644
--- a/docs/examples/pop3-ssl.c
+++ b/docs/examples/pop3-ssl.c
@@ -64,6 +64,11 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
#endif
+ /* Since the traffic will be encrypted, it is very useful to turn on debug
+ * information within libcurl to see what is happening during the
+ * transfer */
+ curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
+
/* Perform the retr */
res = curl_easy_perform(curl);