Disallow persistent HTTP connections

This commit is contained in:
Christian Weiske 2013-08-29 17:01:42 +02:00
parent 0e0d4781be
commit eac0fce135

View File

@ -130,7 +130,10 @@ $urlData = getUrlFromPath($pathData);
$context = stream_context_create(
array(
'http' => array(
'header' => 'Accept: */*',
'header' => array(
'Accept: */*',
'Connection: Close'
),
'max_redirects' => 5
)
)