viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Tweak to getPage for HTTP 2 iissues, a=chris

Chris Pollett [2019-01-25 02:Jan:th]
Tweak to getPage for HTTP 2 iissues, a=chris
Filename
src/library/FetchUrl.php
diff --git a/src/library/FetchUrl.php b/src/library/FetchUrl.php
index 4f6b7f096..df3a4fd4a 100755
--- a/src/library/FetchUrl.php
+++ b/src/library/FetchUrl.php
@@ -803,6 +803,7 @@ class FetchUrl implements CrawlConstants
                     curl_close($agent_host);
                 }
             }
+            $host =  ($post_data) ? "POST " . $host : "GET " . $host;
             if (empty($agents[$host])) {
                 $agents[$host] = curl_init();
             }
ViewGit