shttpd does keep alive when:

1. Connection: close header is not set
2. HTTP version is > 1.0
3. content-length of the reply is set

I think number 3 is done for regular files and some CGI, not for
embedded case. So embedded traffic never use keep-alive.

This logic is in disconnect() function.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to