examples: Added POP3 TLS example

This commit is contained in:
Steve Holme
2014-01-05 14:40:58 +00:00
parent ecb0dc4c90
commit 0f4bf77bd3
3 changed files with 92 additions and 3 deletions

View File

@@ -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);