W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2005

Win32 problem - hang on connect errors

From: Julia Renouard <julia.renouard@nmwco.com>
Date: Fri, 7 Jan 2005 11:50:35 -0800
Message-ID: <68B9548ED9F8A341B21CDB320655D613EE71DD@mercury.nmwco.com>
To: <lib-www@w3.org>
Hello all -
I've found a bug in the Win32 implementation of HTEvtLst.c.  The library is missing connect() errors because these errors are delivered through the AsyncWindowProc() function in the lParam parameter as defined for MS's use of WSAAsyncSelect() function.  The code as written would end up indefinitely retrying to connect to a server that was failing the connection.  Hence the previously reported problem of "hanging" when trying to connect to a server w/ no HTTP server running.
 
I am currently working to fix this and another problem I'm having with the webbot.  Please let me know if anyone would like me to integrate these fixes into the libwww code.  The code base seems to be essentially frozen but I'd be glad to integrate these fixes in and consult with project owners on the best path for the fix.
 
Julia Renouard
Received on Saturday, 8 January 2005 06:51:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:44 GMT