added other close bits back for gzip close connection

This commit is contained in:
Andy Miller
2015-04-28 17:34:59 -06:00
parent e077b3d04c
commit b65280f3c9

View File

@@ -366,10 +366,12 @@ class Grav extends Container
// get lengh and close the connection
header('Content-Length: ' . ob_get_length());
header("Connection: close\r\n");
header("Connection: close");
// flush the regular buffer
ob_end_flush();
@ob_flush();
flush();
// fix for fastcgi close connection issue
if (function_exists('fastcgi_finish_request')) {