proc: call read notify after more write space is available
[project/uhttpd.git] / proc.c
diff --git a/proc.c b/proc.c
index 02e056c..67356dd 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);
                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)
 }
 
 static int proc_data_send(struct client *cl, const char *data, int len)