Keep Alive fix (maybe that fixes the dedimania issue)
This commit is contained in:
parent
11f78837db
commit
702b7ade9f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user