Mercurial > urweb
annotate tests/vlad1.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 | 609ab3947a08 |
children |
rev | line source |
---|---|
adamc@1047 | 1 fun row (label : string) : xbody = <xml> |
adamc@1047 | 2 {[label]} |
adamc@1047 | 3 </xml> |
adamc@1047 | 4 fun main () = return (row "asdf") |
adamc@1047 | 5 |