add Connection: close when sending redirect

This commit is contained in:
Antonin Kral 2011-09-08 11:45:34 +02:00
parent 4f86e05d03
commit ab4f4dbab4

View File

@ -1425,6 +1425,7 @@ function common_redirect($url, $code=307)
header('HTTP/1.1 '.$code.' '.$status[$code]);
header("Location: $url");
header("Connection: close");
$xo = new XMLOutputter();
$xo->startXML('a',