Subject: Correction to WWW/Implementation/Library/HTTCP.c for cygwin32
From: [email-masked] (Victor Schneider)

23 Oct 1997 17:34:24 -0700
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email-masked], [email-masked]

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
"[email-masked]" with one line of text: "help".