[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev bug in ETA (in advanced transfer status) handling
From: |
Vlad Harchev |
Subject: |
Re: lynx-dev bug in ETA (in advanced transfer status) handling |
Date: |
Tue, 10 Aug 1999 12:34:05 +0500 (SAMST) |
On Sun, 8 Aug 1999, Ilya Zakharevich wrote:
> >> > The patch from Ilya contains a bug - it doesn't reset 'stalled for
> >> > counter
> >> >between ftp requests (go to slow ftp site with lynx, walk around its dirs
> >> >an
> >d
> >> >watch the values printed in 'stalled for N secs' part).
> >>
> >> The reset happens on HTReadProgress(0,0) call. Apparently, the ftp
> >> code does not make this call. Some other things should be wrong too.
> >>
> >> Hope this helps,
> >> Ilya
> >
> > Can you fix it? (Probably reset should be done in getfile() - but I'm not
> >sure exactly).
>
> I would prefer not to touch WWW/* any more...
>
> Ilya
>
Here is a patch to fix this (tested).
Best regards,
-Vlad
--- HTFTP.c~ Tue Aug 10 11:31:14 1999
+++ HTFTP.c Tue Aug 10 11:31:38 1999
@@ -2825,6 +2825,7 @@
*/
use_list = FALSE;
server_type = GENERIC_SERVER;
+ HTReadProgress(0,0);
for (retry = 0; retry < 2; retry++) { /* For timed out/broken connections
*/
status = get_connection(name, anchor);