Mercurial > urweb
annotate tests/clib.urp @ 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 | eac1974924bb |
children |
rev | line source |
---|---|
adamc@767 | 1 ffi test |
adamc@767 | 2 include test.h |
adamc@767 | 3 script http://localhost/test/test.js |
adamc@767 | 4 link test.o |
adamc@767 | 5 effectful Test.print |
adamc@767 | 6 serverOnly Test.foo |
adamc@767 | 7 clientOnly Test.bar |
adamc@771 | 8 effectful Test.transactional |
adamc@767 | 9 jsFunc Test.print=print |
adamc@767 | 10 jsFunc Test.bar=bar |