cURL / Mailing Lists / curl-library / Single Mail


Re: Infinite loop behaviour with libcurl + FTP + proxy + NTLM authentication

From: Daniel Stenberg <>
Date: Fri, 17 Apr 2009 14:50:37 +0200 (CEST)

On Wed, 15 Apr 2009, Pramod Sharma wrote:

> conn->handler = &Curl_handler_ftp_proxy;
> /*Pramod Sharma - either we can write the connect_it for
> curl_handler_ftp_proxy too
> and do the thing protocol specific like setting bits.close as false
> or we can set the bit here itself here as false as we know here we reached
> only in this proxy scenario
> */
> conn->bits.close = FALSE;

Thanks a lot for your excellent research to track this down. I've just now
committed a fix like this, with a new test case (1098) that I used to repeat
the problem and then to verify the fix.

Committed just now!

Received on 2009-04-17