Jelajahi Sumber

Update Http.php

walkor 10 tahun lalu
induk
melakukan
7e8fecc2cc
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Protocols/Http.php

+ 1 - 1
Protocols/Http.php

@@ -72,7 +72,7 @@ class Http
         $_POST = $_GET = $_COOKIE = $_REQUEST = $_SESSION = $_FILES =  array();
         $GLOBALS['HTTP_RAW_POST_DATA'] = '';
         // 清空上次的数据
-        HttpCache::$header = array();
+        HttpCache::$header = array('Connection'=>'keep-alive');
         HttpCache::$instance = new HttpCache();
         // 需要设置的变量名
         $_SERVER = array (