cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLINFO_LASTSOCKET change

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 10 May 2006 15:38:52 -0700

On Wed, May 10, 2006 at 09:37:47PM +0000, David McCreedy wrote:
>+ if(data->state.connects[data->state.lastconnect]->protocol
>+ & (PROT_FTPS|PROT_SSL)) {
>+ /* use the SSL context */

This checks for FTPS and HTTPS, but what happens in the case when SSL is
negotiated as part of FTP, using --ftp-ssl? There must be a better way of
telling if SSL is in use on a connection or not, or if not, there should be.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-05-11