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.

CURLUSESSL_TRY with failing TLS negotiation

From: Patrick Monnerat via curl-library <>
Date: Thu, 28 Dec 2023 12:52:50 +0100

Hi friends,

IN IMAP/POP3/SMTP, a failing CURLUSESSL_TRY behaves as expected as long
as TLS negotiation has not started, but terminates in error if the
latter fails. I noticed it by reading the code and, since there is no
support for STARTTLS in our test environment, I verified it manually
with a personal IMAP server.

I wonder if this is intentional or a bug. Any clue?

Received on 2023-12-28