projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/main.c: Call FCGI_Finish() before gl_update().
[collection4.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
0722403
..
877f61b
100644
(file)
--- 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);