diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-04-09 20:00:52 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-04-09 20:00:52 -0400 |
commit | 27e97143b6e20274484289ad61bfd9eb1922d50a (patch) | |
tree | afc1aa975eca7a387cdc88de716b920780ba4c89 /src/c/http.c | |
parent | 51b2033057b25f4cecd3d5e73dc49b60b532834e (diff) |
Send newly created sources with messages to clients
Diffstat (limited to 'src/c/http.c')
-rw-r--r-- | src/c/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |