Mercurial > urweb
view tests/sidecheck.ur @ 1931:1a04b1edded2
Fix regression in http.c for long-polling connections; add lazy initialization of database connections, to avoid the overhead in handlers that don't use SQL
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 11 Dec 2013 14:57:54 -0500 |
parents | 154cfe2eb366 |
children |
line wrap: on
line source
fun main () : transaction page = s <- source 0; n <- get s; set s (n + 1); n' <- get s; return <xml>{[n']}</xml>