mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 03:27:08 +02:00
added other close bits back for gzip close connection
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user