git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Support FTP-over-SSL/TLS for regular FTP

From
Modestas Vainius <modestas@vainius.eu>
Date
Jan 12, 2013, 14:51 UTC
Message-ID
<7057807.F3QETssImX@mdxdesktop>
In-Reply-To
<20130112142521.GA21639@ftbfs.org>
Hello,
Saturday 12 January 2013 06:25:21 rašė:
Show 19 quoted lines
> On Sat, Jan 12, 2013 at 03:59:52PM +0200, Modestas Vainius wrote:
> > @@ -306,6 +311,11 @@ static CURL *get_curl_handle(void)
> > 
> >  	if (curl_ftp_no_epsv)
> >  	
> >  		curl_easy_setopt(result, CURLOPT_FTP_USE_EPSV, 0);
> > 
> > +#ifdef CURLOPT_USE_SSL
> > +    if (curl_ssl_try)
> > +		curl_easy_setopt(result, CURLOPT_USE_SSL, CURLUSESSL_TRY);
> > +#endif
> > +
> > 
> >  	if (curl_http_proxy) {
> >  	
> >  		curl_easy_setopt(result, CURLOPT_PROXY, curl_http_proxy);
> >  		curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
> 
> It looks like the indentation of the "if" line you added is messed up.
Yeah, sorry about that. I will fix it.
-- 
Modestas Vainius <modestas@vainius.eu>
Previous: Matt KraaiNext: Junio C Hamano
Message 3 of 5 in “Support FTP-over-SSL/TLS for regular FTP”
  1. Support FTP-over-SSL/TLS for regular FTPModestas Vainius, Jan 12, 2013
  2. Matt KraaiJan 12, 2013
  3. Modestas VainiusJan 12, 2013
  4. Junio C HamanoFeb 25, 2013
  5. Modestas VainiusApr 7, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.