diff options
author | Metallizzer <[email protected]> | 2018-02-25 10:03:09 +0000 |
---|---|---|
committer | Metallizzer <[email protected]> | 2018-02-25 10:03:09 +0000 |
commit | dd597297cb800a93482891e76e5d18649074063f (patch) | |
tree | e0cd92dca264e2242e103d648729773e445cc24e | |
parent | 7e6bb21ff59167c75602b71157d679f23306c572 (diff) |
Обновить 'include/functions.php'
The "Connection: close" header is added to the context_options
-rwxr-xr-x | include/functions.php | 3 |
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, |