summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal/index.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-10-18 11:52:17 +0000
committerErmal <eri@pfsense.org>2010-10-18 11:52:17 +0000
commit232846a2068ae788c3a33e7713eddf640a8861fe (patch)
tree140f559982b8d76422f1a57efefbfa7280589f99 /usr/local/captiveportal/index.php
parentf21c7979981ff775c5bde5f80f7cf51f4883ed1f (diff)
downloadpfsense-232846a2068ae788c3a33e7713eddf640a8861fe.zip
pfsense-232846a2068ae788c3a33e7713eddf640a8861fe.tar.gz
Ticket #868. Add Connection: close to the header to be proxy friendly. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for reference.
Diffstat (limited to 'usr/local/captiveportal/index.php')
-rwxr-xr-xusr/local/captiveportal/index.php1
1 files changed, 1 insertions, 0 deletions
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'];
OpenPOWER on IntegriCloud