Mercurial > urweb
annotate tests/longConst.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 | 61c7eb1d3867 |
children |
rev | line source |
---|---|
adam@1782 | 1 val ls = 1 :: 2 :: 3 :: 4 :: 5 :: 6 |
adam@1782 | 2 :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 |
adam@1782 | 3 :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 |
adam@1782 | 4 :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 |
adam@1782 | 5 :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 |
adam@1782 | 6 :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 |
adam@1782 | 7 :: [] |
adam@1782 | 8 |
adam@1782 | 9 fun main () : transaction page = return <xml><body> |
adam@1782 | 10 {List.mapX txt ls}<br/> |
adam@1782 | 11 {List.mapX txt ls} |
adam@1782 | 12 </body></xml> |