X-Git-Url: https://git.octo.it/?p=collection4.git;a=blobdiff_plain;f=src%2Fmain.c;h=877f61bab7e9bdc4cb1544b1daf643cde661662a;hp=0722403fac4f885883d6a9c1765ab081a408037f;hb=dd51aafb08f4023151161639ff20d50ee9239bb3;hpb=48fb18a605cafef572e0c41263eb576c386b7c9f 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);