From 702b7ade9fe440e6f6577fd1c0c9d65266baf146 Mon Sep 17 00:00:00 2001 From: kremsy Date: Sat, 5 Jul 2014 19:08:02 +0200 Subject: [PATCH] Keep Alive fix (maybe that fixes the dedimania issue) --- application/core/Files/AsynchronousFileReader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Files/AsynchronousFileReader.php b/application/core/Files/AsynchronousFileReader.php index 55f24dc6..3b96d789 100644 --- a/application/core/Files/AsynchronousFileReader.php +++ b/application/core/Files/AsynchronousFileReader.php @@ -131,7 +131,7 @@ class AsynchronousFileReader { $contentType = 'text/xml; charset=UTF-8;') { $headers = array(); array_push($headers, 'Content-Type: ' . $contentType); - array_push($headers, 'Keep-Alive: 600'); + array_push($headers, 'Keep-Alive: timeout=600, max=2000'); array_push($headers, 'Connection: Keep-Alive'); $content = str_replace(array("\r", "\n"), '', $content);