mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-15 01:13:41 +02:00
- yWeb: try to fix empty pages
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user