From dd597297cb800a93482891e76e5d18649074063f Mon Sep 17 00:00:00 2001 From: Metallizzer Date: Sun, 25 Feb 2018 10:03:09 +0000 Subject: [PATCH] =?utf8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82=D1=8C?= =?utf8?q?=20'include/functions.php'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The "Connection: close" header is added to the context_options --- include/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/functions.php b/include/functions.php index 9dd84707..6a129639 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, -- 2.39.2