Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
accesslog: Remember to flush request-body.
[ashd.git]
/
src
/
accesslog.c
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(passdata(cl, hd, &data.bytesin))
goto out;
+ if(fflush(hd))
+ goto out;
shutdown(pfds[1], SHUT_WR);
if((resp = parseresponse(hd)) == NULL)
goto out;
shutdown(pfds[1], SHUT_WR);
if((resp = parseresponse(hd)) == NULL)
goto out;