diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-13 11:30:15 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-13 11:30:15 +0100 |
commit | 1a8612c18833b3ee9ff07b28533408f2e45fddfd (patch) | |
tree | 04c4a44001aaa4c7edecc9b754b9807ffc358a35 /relay.c | |
parent | f719927edacdbc2202b3feceb351508ad7a86998 (diff) |
poll ustream after the process dies to fix eof detection
Diffstat (limited to 'relay.c')
-rw-r--r-- | relay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |