projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48fb18a
)
src/main.c: Call FCGI_Finish() before gl_update().
author
Florian Forster
<octo@noris.net>
Tue, 18 Jan 2011 15:57:25 +0000
(16:57 +0100)
committer
Florian Forster
<octo@noris.net>
Tue, 18 Jan 2011 15:57:25 +0000
(16:57 +0100)
src/main.c
patch
|
blob
|
history
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);