projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f719927
)
poll ustream after the process dies to fix eof detection
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 Jan 2013 10:30:15 +0000
(11:30 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 Jan 2013 10:30:15 +0000
(11:30 +0100)
relay.c
patch
|
blob
|
history
diff --git
a/relay.c
b/relay.c
index 81e7736c06187f4028d71bd3a5774f62258b161b..72f6e4df600c6dfb0addcec6a6dcefb348358378 100644
(file)
--- a/
relay.c
+++ b/
relay.c
@@
-156,6
+156,7
@@
static void relay_proc_cb(struct uloop_process *proc, int ret)
{
struct relay *r = container_of(proc, struct relay, proc);
+ ustream_poll(&r->sfd.stream);
r->process_done = true;
r->ret = ret;
relay_close_if_done(r);