From dd51aafb08f4023151161639ff20d50ee9239bb3 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 18 Jan 2011 16:57:25 +0100 Subject: [PATCH] src/main.c: Call FCGI_Finish() before gl_update(). --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 0722403..877f61b 100644 --- a/src/main.c +++ b/src/main.c @@ -127,8 +127,9 @@ static int handle_request (void) /* {{{ */ if (i >= actions_num) status = action_usage (); - fflush (stdout); - fclose (stdout); + /* Call finish before updating the graph list, so clients don't wait for + * the update to finish. */ + FCGI_Finish (); gl_update (/* request_served = */ 1); -- 2.11.0