file: poke ustream after starting deferred program
[project/uhttpd.git] / file.c
diff --git a/file.c b/file.c
index da680a080ae04336718a4510a4da104bf88c5811..85487f8e14d666cf913e8dae79a7ea3e5e4d35fa 100644 (file)
--- a/file.c
+++ b/file.c
@@ -753,6 +753,7 @@ static void uh_complete_request(struct client *cl)
                cl->dispatch.data_blocked = false;
                uh_invoke_script(cl, dr->d, dr->path ? &dr->pi : NULL);
                client_poll_post_data(cl);
+               ustream_poll(cl->us);
        }
 }