summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorMetallizzer <[email protected]>2018-02-25 10:03:09 +0000
committerMetallizzer <[email protected]>2018-02-25 10:03:09 +0000
commitdd597297cb800a93482891e76e5d18649074063f (patch)
treee0cd92dca264e2242e103d648729773e445cc24e /include/functions.php
parent7e6bb21ff59167c75602b71157d679f23306c572 (diff)
Обновить 'include/functions.php'
The "Connection: close" header is added to the context_options
Diffstat (limited to 'include/functions.php')
-rwxr-xr-xinclude/functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 9dd84707b..6a1296390 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -490,6 +490,9 @@
$context_options = array(
'http' => array(
+ 'header' => array(
+ 'Connection: close'
+ ),
'method' => 'GET',
'ignore_errors' => true,
'timeout' => $timeout ? $timeout : FILE_FETCH_TIMEOUT,