]> git.wh0rd.org Git - tt-rss.git/commitdiff
Обновить 'include/functions.php'
authorMetallizzer <metallizzer@gmail.com>
Sun, 25 Feb 2018 10:03:09 +0000 (10:03 +0000)
committerMetallizzer <metallizzer@gmail.com>
Sun, 25 Feb 2018 10:03:09 +0000 (10:03 +0000)
The "Connection: close" header is added to the context_options

include/functions.php

index 9dd84707bc446836cc4cda0dd3c54049e8a00722..6a12963902d80566e882beff125e4ca9d65e0330 100755 (executable)
 
                         $context_options = array(
                                  'http' => array(
+                                               'header' => array(
+                                                       'Connection: close'
+                                               ),
                                                'method' => 'GET',
                                                'ignore_errors' => true,
                                                'timeout' => $timeout ? $timeout : FILE_FETCH_TIMEOUT,