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: Sat, 12 Nov 2011 10:00:27 +0000

Hiya Daniel,

> > You don't want to distinguish between them. The server and libcurl
> > have automatically upgraded the connection to TLS and as such the
> > application programmer doesn't need to know (or even cares) if the
> > connection has been upgraded. In fact, unless I'm mistaken, there is
> > no way of letting the programmer know that the connection has been
upgraded.
>
> 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?

Kind Regards

Steve

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