From ec9e1e78b0b0dc8c6766bd1ec2ec1ea5c2b291ca Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 9 Apr 2011 20:00:52 -0400 Subject: Send newly created sources with messages to clients --- src/c/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c/http.c') diff --git a/src/c/http.c b/src/c/http.c index 579c874e..4b2f0576 100644 --- a/src/c/http.c +++ b/src/c/http.c @@ -198,7 +198,7 @@ static void *worker(void *data) { on_success, on_failure, NULL, log_error, log_debug, sock, uw_really_send, close); - uw_send(ctx, sock); + if (rr != KEEP_OPEN) uw_send(ctx, sock); if (rr == SERVED || rr == FAILED) close(sock); -- cgit v1.2.3