curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

smtp-tls example: Failure when receiving data from the peer

From: W. Martin Borgert via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 30 Jul 2019 15:37:49 +0200

Dears,

I'm using libcurl for the first time, so don't rule out stupidity on
my side. I'm using this example:

https://curl.haxx.se/libcurl/c/smtp-tls.html

On some servers it works, but on one providers service it does not:

* Expire in 0 ms for 1 (transfer 0x123450)
### repeats ~320 times, seems to be removed in commit aabc7ae
* Trying 123.45.123.45...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x123450)
* Connected to myprovider.com (123.45.123.45) port 465 (#0)
### long time nothing seems to happen
* response reading failed
* Closing connection 0
curl_easy_perform() failed: Failure when receiving data from the peer

Any idea how to debug this?

TIA!

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-07-30