Please do two things:
1. switch on -DNO_THREADS compilation flag
2. switch off keep-alive. in shttpd.c : connection_destructor() function,
before the line "if (!do_close ..)", insert line "do_close = 1".
On Tue, Aug 26, 2008 at 10:28 PM, Joshua Van Tol <[EMAIL PROTECTED]> wrote:
> I'm quite a newbie at http/webservers, so hopefully I can make my question
> clear.
>
> I'm developing an embedded app using shttpd-1.42, and I'm noticing that
> shttpd will sometimes freeze up when the client is ie 6.0. IE 7, and firefox
> don't seem to cause this problem.
>
> The observable symptom (as seen with tcpTrace) is that a request for static
> content (or sometimes dynamic content) is sent, and no response ever comes
> back. From this point onwards, the server is unresponsive to http requests.
>
> Digging a bit, I turned on -D_DEBUG and found that the call to select in
> do_select (shttpd.c) is returning -1, and an errno of 10038, which after
> taking into account the windows convention of adding 10,000 to error
> numbers, translates into "*WSAENOTSOCK (10038)* *Socket operation on
> non-socket*." This problem only surfaces once the symptom above has
> occurred.
>
> So, any pointers on how I might debug this problem further?
>
> -------------------------------------------------------------------------
> 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
>
>
-------------------------------------------------------------------------
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