[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev [PATCH to dev18] configurable connect timeout
From: |
Vlad Harchev |
Subject: |
Re: lynx-dev [PATCH to dev18] configurable connect timeout |
Date: |
Tue, 1 Feb 2000 13:35:13 +0400 (SAMT) |
On Sat, 29 Jan 2000, Gisle Vanem wrote:
> Vlad Harchev <address@hidden> said:
>
> > * lynx.cfg option CONNECT_TIMEOUT and commandline option "timeout" were
> > added (not available for DOS port) - VH
>
> Why not DOS also? The DOS/djgpp port with Watt-32 also uses non-blocking
> connect().
But DOS/djgpp port doesn't run a loop of selects on connect'ed socket (since
socket is not set non-blocking, no loop is performed on it), so it's
impossible to control the length of connect timeout but controllling the
maxiam number of loops allowed.
Frankly speaking, I did my patch actually to dev15, but I don't think
anything is changed (in HTTCP.c:HTDoConnect).
> > +#ifndef __DJGPP__
> > + PARSE_SET(
>
> This should be "#if !defined(__DJGPP__) && !defined(WATT32)".
>
> Gisle V.
>
Best regards,
-Vlad