From: Florian Forster Date: Tue, 18 Jan 2011 15:57:25 +0000 (+0100) Subject: src/main.c: Call FCGI_Finish() before gl_update(). X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=dd51aafb08f4023151161639ff20d50ee9239bb3;p=collection4.git src/main.c: Call FCGI_Finish() before gl_update(). --- 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);