It seems that you have different sources so the patch didn�t work. 

The patch generated the following file:
ftpclass.cc.rej:

***************
*** 3176,3181 ****
        return DO_AGAIN;

     if(expect->Has(Expect::REST) && real_pos==-1)
        return DO_AGAIN;

     if(state==DATA_OPEN_STATE)
--- 3176,3184 ----
        return DO_AGAIN;

     if(expect->Has(Expect::REST) && real_pos==-1)
+       return DO_AGAIN;
+
+    if(state==DATASOCKET_CONNECTING_STATE)
        return DO_AGAIN;

     if(state==DATA_OPEN_STATE)

Then I added your three lines manually.
Now it works. Well done, thank you!

Stefan

Am Mittwoch, 7. April 2004 13:50 schrieb Alexander V. Lukyanov:
> On Wed, Apr 07, 2004 at 12:54:09PM +0200, Stefan Huettmann wrote:
> > it looks better with your settings!
> > I can see the connection from the proxy to the higher port of the 
ftp-server 
> > but then the connection brokes with the following message:
> > 
> > lftp: ftpclass.cc:3201: virtual int Ftp::Read(void*, int): Assertion 
> > `rate_limit!=0' failed.
> 
> Please try this patch. The bug only happens when accessing an ftp server
> via http proxy with CONNECT method.
> 
> -- 
>    Alexander.
> 

-- 

_______________________________A L I S______

S. Huettmann
Systemberater SAP R/3 Basis

ALIS Informationsmanagement GmbH
Hans-Guenther-Sohl-Str. 5
D-40235 Duesseldorf

Telefon: +49 211 54 590 443
Telefax: +49 211 54 590 401
Hotline: +49 211 54 590 444

E-Mail [EMAIL PROTECTED]
http://www.alis.de

_______________________________A L I S______




Reply via email to