From 232846a2068ae788c3a33e7713eddf640a8861fe Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 18 Oct 2010 11:52:17 +0000 Subject: Ticket #868. Add Connection: close to the header to be proxy friendly. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for reference. --- usr/local/captiveportal/index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/local/captiveportal') diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 1839f0a..6cbe1c0 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -43,6 +43,7 @@ header("Expires: 0"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); +header("Connection: close"); $orig_host = $_ENV['HTTP_HOST']; $orig_request = $_REQUEST['redirurl']; -- cgit v1.1