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 <>
Date: Tue, 30 Jul 2019 15:37:49 +0200


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

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
* Expire in 200 ms for 4 (transfer 0x123450)
* Connected to ( 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?


Received on 2019-07-30