From 0f4bf77bd378e51f0c51de5444dfd396c23ee6bf Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 5 Jan 2014 14:40:58 +0000 Subject: examples: Added POP3 TLS example --- docs/examples/pop3-ssl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/examples/pop3-ssl.c') 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); -- cgit v1.2.3