Keep Alive fix (maybe that fixes the dedimania issue)

This commit is contained in:
kremsy 2014-07-05 19:08:02 +02:00
parent 11f78837db
commit 702b7ade9f

View File

@ -131,7 +131,7 @@ class AsynchronousFileReader {
$contentType = 'text/xml; charset=UTF-8;') { $contentType = 'text/xml; charset=UTF-8;') {
$headers = array(); $headers = array();
array_push($headers, 'Content-Type: ' . $contentType); 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'); array_push($headers, 'Connection: Keep-Alive');
$content = str_replace(array("\r", "\n"), '', $content); $content = str_replace(array("\r", "\n"), '', $content);