proc: call read notify after more write space is available
authorFelix Fietkau <nbd@openwrt.org>
Tue, 22 Jan 2013 09:37:48 +0000 (10:37 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 22 Jan 2013 09:37:56 +0000 (10:37 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
proc.c

diff --git a/proc.c b/proc.c
index 02e056c15592dc569aed30e99257ea183df978c0..67356dd766ef7b76d35883800236a04399d221a1 100644 (file)
--- a/proc.c
+++ b/proc.c
@@ -263,6 +263,7 @@ static void proc_relay_write_cb(struct client *cl)
                return;
 
        ustream_set_read_blocked(&p->r.sfd.stream, false);
+       p->r.sfd.stream.notify_read(&p->r.sfd.stream, 0);
 }
 
 static int proc_data_send(struct client *cl, const char *data, int len)