Mercurial > urweb
annotate tests/both.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 | a5eb8f87bc17 |
children |
rev | line source |
---|---|
adamc@1046 | 1 fun main () : transaction page = return <xml> |
adamc@1046 | 2 <body> |
adamc@1046 | 3 <form> |
adamc@1046 | 4 <textbox{#Text}/><submit action={submit}/> |
adamc@1046 | 5 </form> |
adamc@1046 | 6 </body> |
adamc@1046 | 7 </xml> |
adamc@1046 | 8 |
adamc@1046 | 9 and submit r = return <xml/> |