I'm using the standard 1.42 version of shttpd and am getting errno 10054 under windows repeatedly after an application runs for a while. Specifically in process_connection function, the call to read_stream fails with err #10054 because it can't read from the socket anymore.
The only thing that is somewhat unusual is that the HTML is using extjs and the page is refreshing once a second, and there is quite a bit of javascript due to the extjs library. But I've checked and there are no memory-related issues with the JavaScript (as far as I can tell) -- but I am going to retest with another web server, just to make sure in the interim. The problem can be reproduced on multiple PC's , all running XP, and it doesn't matter what O/S browser combination is used for the web browser. I have fiddled with the ctx_polling polling frequency, changed from 100ms to 100seconds, just to see if this makes any difference. It doesn't seem to make a difference. Sometimes the app runs for 30 mins, sometimes 4-5 hours before the socket closes, and this happens on multiple machines. Below is the shttpd.conf file. Nothing fancy going on, and I'm not doing any threading. # SHTTPD web server configuration file. # Lines starting with '#' and empty lines are ignored. # For detailed description, visit http://shttpd.sourceforge.net/shttpd.1.txt root C:\msdevstd\projects\VideoAgent\vc2005\Release\HTML ports 4079,4080 dir_list no index_files index.htm,index.html aliases /extjs=C:\msdevstd\projects\VideoAgent\vc2005\Release\extjs,/images=C:\m sdevstd\projects\VideoAgent\vc2005\Release\images,/icons=C:\msdevstd\pro jects\VideoAgent\vc2005\Release\icons,/data=root Any ideas, or suggestions on a fix? David ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ shttpd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shttpd-general
