From: vischne@ibm.net (Victor Schneider)
Subject: Correction to WWW/Implementation/Library/HTTCP.c for cygwin32
23 Oct 1997 17:34:24 -0700
Message-ID: <1.5.4.16.19971023200427.0c87624e.cygnus.gnu-win32@pop1.ibm.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: lynx-dev@sig.net, gnu-win32@cygnus.com

This is the bug that stops other than Linux/usleep versions of
lynx from connecting to hosts properly.  With this correction,
the cygwin32 version of the most recent releases connects robustly
to remote hosts without the need of  a gethostbyname loop.

In WWW/Library/Implementation/HTTCP.c :

Line 840:

	    if (tries++ >= 180000) {
	        HTAlert("Connection failed for 180,000 tries.");
	        FREE(line);
 	        return HT_NO_DATA;
	    }

-	    timeout.tv_sec = 0;
+	    timeout.tv_sec = 10;
	    timeout.tv_usec = 100000;
            FD_ZERO(&writefds);
            FD_SET(*s, &writefds);


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
