lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Re: Bad DOS lynx binary (Was: Mmory problems in DOS.)


From: Doug Kaufman
Subject: lynx-dev Re: Bad DOS lynx binary (Was: Mmory problems in DOS.)
Date: Wed, 27 Oct 1999 23:45:57 -0700 (PDT)

On Wed, 27 Oct 1999, Gisle Vanem wrote:

> On Wed, 27 Oct 1999, Doug Kaufman wrote:
> 
> > I am not sure that the limit is really the conventional memory in
> > DOS, but I can confirm that the binary stops downloading http files
> > when incomplete. On my machine, it stops at about 160K. I found the
>> ...
> 
> I think you are seeing the EPIPE bug in select(). 
> 
> The condition for EPIPE has changed. It's not set unless socket has left
> established state (got FIN, ICMP unreachable etc.) AND no remaining data
> in receive-buffer. A small patch for select.c and read_select():
> ... 
> BTW. A bug in dev.rel.6 was found by Andreas Fischer <address@hidden>:
>  
> static int tcp_write (tcp_Socket *s, BYTE *data, UINT len)

This didn't fix the problem. I made the above changes to select.c and
pctcp.c and recompiled WATT-32, then compiled lynx dev.12. The http
download stops again after about 160K. Portion of the lynx trace file
follows (made before the above changes):
Read 163101 of 2158694 bytes of data, 1418 bytes/sec.
Read 163613 of 2158694 bytes of data, 1418 bytes/sec.
Read 164125 of 2158694 bytes of data, 1418 bytes/sec.
Read 164637 of 2158694 bytes of data, 1419 bytes/sec.
Read 165149 of 2158694 bytes of data, 1419 bytes/sec.
Read 165661 of 2158694 bytes of data, 1419 bytes/sec.
Read 166173 of 2158694 bytes of data, 1420 bytes/sec.
Data transfer complete
LYCloseTempFP
...LYCloseTempFP(C:\WINDOWS\TEMP\15450.htm)
start_curses: done.
                              Doug

__
Doug Kaufman
Internet: address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]