Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d500f7
)
accesslog: Remember to flush request-body.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 8 Apr 2016 05:39:45 +0000
(07:39 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 8 Apr 2016 05:39:45 +0000
(07:39 +0200)
src/accesslog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/accesslog.c
b/src/accesslog.c
index
536f118
..
1addb38
100644
(file)
--- a/
src/accesslog.c
+++ b/
src/accesslog.c
@@
-261,6
+261,8
@@
static void filterreq(struct muth *mt, va_list args)
if(passdata(cl, hd, &data.bytesin))
goto out;
+ if(fflush(hd))
+ goto out;
shutdown(pfds[1], SHUT_WR);
if((resp = parseresponse(hd)) == NULL)
goto out;