cURL / Mailing Lists / curl-library / Single Mail


[patch] imap + ssl: connect and upgrade asynchronously in multi mode

From: Ben Noordhuis <>
Date: Wed, 16 Feb 2011 12:50:29 +0100


The attached patches add support to lib/imap.c for asynchronously:

1) connecting to an IMAPS server, and
2) upgrading the connection in-flight to SSL/TLS (STARTTLS)

Here is the pull request:

I'd like to turn this[1] into an official test case. I've been rooting
through test/libtest/ and I think I've a handle on how to construct
tests for IMAPS but not STARTTLS. If anyone has some pointers on this,
I'd love to hear it.

Feedback on the patches is welcome too, of course. :-)


List admin:

Received on 2011-02-16