- yWeb: try to fix empty pages

This commit is contained in:
svenhoefer
2014-08-30 14:05:18 +02:00
parent 5ec1873982
commit 270e915954
2 changed files with 7 additions and 1 deletions

View File

@@ -96,8 +96,10 @@ void CWebserverConnection::HandleConnection() {
if(string_tolower(Request.HeaderList["Connection"]) == "close"
|| (httprotocol != "HTTP/1.1" && string_tolower(Request.HeaderList["Connection"]) != "keep-alive")
|| !Webserver->CheckKeepAliveAllowedByIP(sock->get_client_ip()))
#endif
keep_alive = false;
#else
keep_alive = false;
#endif
// Send a response
Response.SendResponse();