Обновить 'include/functions.php'

The "Connection: close" header is added to the context_options
This commit is contained in:
Metallizzer 2018-02-25 10:03:09 +00:00
parent 7e6bb21ff5
commit dd597297cb
1 changed files with 3 additions and 0 deletions

View File

@ -490,6 +490,9 @@
$context_options = array( $context_options = array(
'http' => array( 'http' => array(
'header' => array(
'Connection: close'
),
'method' => 'GET', 'method' => 'GET',
'ignore_errors' => true, 'ignore_errors' => true,
'timeout' => $timeout ? $timeout : FILE_FETCH_TIMEOUT, 'timeout' => $timeout ? $timeout : FILE_FETCH_TIMEOUT,