cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: POP3 not using same connection for multiple requests when using starttls

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Sun, 13 Nov 2011 18:17:19 +0000

Hi Daniel,

> >> We have to! If connection A upgrades to TLS and connection B comes
> >> along but doesn't want TLS, the B one has to make its own connection.
> >> It cannot be allowed to silently use TLS instead. And vice versa.
> >
> > Okay - but how does the programmer specify that they want to do this?
>
> You set the CURLOPT_USE_SSL option (or not).

I'm not sure if I am missing something here... but are you saying that if
the programmer specifies SSL and they attempt to do the following:

curl_easy_perform("pop3://mail.domain.com"); // List messages
curl_easy_perform("pop3://mail.domain.com/1"); // Retr message 1
curl_easy_perform("pop3://mail.domain.com/2"); // Retr message 2

.. then you would expect the second and third requests to use their own
connections when connections are upgraded using TLS?

Cheers

Steve

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-13