Mercurial > urweb
diff src/c/http.c @ 1447:17393c5e2b90
Send newly created sources with messages to clients
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 09 Apr 2011 20:00:52 -0400 |
parents | 36f7d1debb37 |
children | 4d0b80dd4c37 |
line wrap: on
line diff
--- a/src/c/http.c Sat Apr 09 14:36:47 2011 -0400 +++ b/src/c/http.c Sat Apr 09 20:00:52 2011 -0400 @@ -198,7 +198,7 @@ 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);