curl-library
[patch] imap + ssl: connect and upgrade asynchronously in multi mode
Date: Wed, 16 Feb 2011 12:50:29 +0100
Hi,
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:
https://github.com/bagder/curl/pull/7
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. :-)
[1] https://gist.github.com/828613
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/x-patch attachment: 0001-IMAP-in-multi-mode-use-Curl_ssl_connect_nonblocking-.patch
- text/x-patch attachment: 0002-IMAP-in-multi-mode-use-Curl_ssl_connect_nonblocking-.patch