From 370415536e1fa52a98c6621d8e43f4003da1077f Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Thu, 6 Oct 2022 21:48:49 +0900 Subject: [PATCH] Update proxytest.php --- proxytest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/proxytest.php b/proxytest.php index 1cb2e5b..8886cc5 100644 --- a/proxytest.php +++ b/proxytest.php @@ -6,10 +6,9 @@ ini_set("default_socket_timeout", 1); // must be. because of `feof()` works ini_set("max_execution_time", 0); -// https://stackoverflow.com/questions/16934409/curl-as-proxy-deal-with-https-connect-method -// https://stackoverflow.com/questions/12433958/how-to-parse-response-headers-in-php - function parse_headers($str) { // Parses HTTP headers into an array + // https://stackoverflow.com/questions/16934409/curl-as-proxy-deal-with-https-connect-method + // https://stackoverflow.com/questions/12433958/how-to-parse-response-headers-in-php $headers = array(); $lines = preg_split("'\r?\n'", $str);