This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Correction to WWW/Implementation/Library/HTTCP.c for cygwin32


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]