Sergey,
   Sorry for delayed response. I think keep-alive doesn't work properly 
currently. "Authorization Required" is regarded as an error but the connection 
does be kept. But the following communication cannot continue properly. It 
seems that data cannot be read from remote anymore. But if we discard 
keep-alive this time (to add the statement "dont_close=0" in disconnect 
function), it works properly. I remember it didn't work in the former version.

Liang

-----Original Message-----
From: Sergey Lyubka [mailto:[EMAIL PROTECTED] 
Sent: 2008年1月10日 19:05
To: Hou, LiangX
Cc: [email protected]
Subject: Re: [shttpd-general] shttpd cannot handle "Connection: Keep-Alive" 
http header properly

Yeah. That's because SHTTPD does not honour keep-alive if it sends
error to the client.
"Authorization Required" thing is regarded as error.
Could you try it without authorization first, please, just to make sure
keep-alive works (or does not) ?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to