Re: [PATCH] imap-send.c: set CURLOPT_USE_SSL to CURLUSESSL_TRY

2015-01-06 Thread Junio C Hamano
"Kyle J. McKay" writes: > According to the cURL documentation for the CURLOPT_USE_SSL option, > it is only used with plain text protocols that get upgraded to SSL > using the STARTTLS command. > > The server.use_ssl variable is only set when we are using a protocol > that is already SSL/TLS (i.e.

[PATCH] imap-send.c: set CURLOPT_USE_SSL to CURLUSESSL_TRY

2015-01-06 Thread Kyle J. McKay
According to the cURL documentation for the CURLOPT_USE_SSL option, it is only used with plain text protocols that get upgraded to SSL using the STARTTLS command. The server.use_ssl variable is only set when we are using a protocol that is already SSL/TLS (i.e. imaps), so setting CURLOPT_USE_SSL w