aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/pop3-ssl.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-01-05 14:40:58 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-01-05 14:26:51 +0000
commit0f4bf77bd378e51f0c51de5444dfd396c23ee6bf (patch)
tree3da7b6bd9fa9bed1cdddfc1bd4edae92f4710c2f /docs/examples/pop3-ssl.c
parentecb0dc4c90e75a566b31cc53713ab37f76041604 (diff)
examples: Added POP3 TLS example
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);