Skip to content
Snippets Groups Projects
Commit e13bd5dc authored by Christoph Dwertmann's avatar Christoph Dwertmann
Browse files

Speed up indexer on lighttpd by using tpl_flush()

parent ea0c1427
No related branches found
No related tags found
No related merge requests found
......@@ -199,8 +199,7 @@ function sendGIF(){
header('Content-Length: '.strlen($img));
header('Connection: Close');
print $img;
ob_flush();
flush();
tpl_flush();
// Browser should drop connection after this
// Thinks it's got the whole image
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment