1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00
Commit Graph

418 Commits

Author SHA1 Message Date
bel
8fbf4e94ce Add md5 test to unit test 2014-04-19 22:02:03 +02:00
bel
b5da6dbcaa Lua error handler for all errors 2014-04-11 22:08:24 +02:00
bel
9576339a75 Implement user defined error pages 2014-04-06 22:34:44 +02:00
bel
ca5967bbdf SSL unit tests 2014-03-22 00:51:17 +01:00
bel
34f434b07b Get unit-tests running again (90% done, some tests commented out for the moment) 2014-03-20 23:02:56 +01:00
bel
5ca68ecbfa Unit test for Windows 2014-03-20 21:12:44 +01:00
bel2125
abbb8b5d83 Merge pull request #17 from jmc-/master
Re-add unit tests for Linux
2014-03-20 20:05:53 +01:00
jmc-
89c1672469 Added a new Makefile rule called 'unit_test', which builds a stand-alone executable called 'civetweb_test' that runs unit tests.
Also fixed up the aging test/unit_test.c file so that it compiles and runs.

Build unit tests with 'make unit_test' or 'make unit_test WITH_LUA=1'.
2014-03-19 16:07:37 -07:00
bel
d8adb70f43 Character encoding converstion functions for Lua (as test/example) 2014-03-17 00:37:27 +01:00
bel
32cbb48710 Allow to specify title and tray icon for the Windows standalone server 2014-03-08 19:56:54 +01:00
bel
c62ded82e8 CORS for SSI pages 2014-02-22 22:48:49 +01:00
bel
1e3d8ff8ca Full CORS support for dynamic resources 2014-02-22 22:26:22 +01:00
bel
b640ffecda Enhance CORS GET test 2014-02-22 21:26:31 +01:00
bel
b35c6742dd Enhance CORS GET test 2014-02-22 21:18:25 +01:00
bel
c498dde851 Add cross-origin resource sharing (CORS) test 2014-02-15 22:41:29 +01:00
bel
87a3b74ee5 Tell Lua which operating system is running, so scripts may handle differences 2014-01-24 19:07:08 +01:00
bel
fa91b84907 Test mg.base64_decode for Lua 2014-01-20 22:50:28 +01:00
bel
9f9a6ffda3 test mg.base64_encode for Lua 2014-01-20 21:54:59 +01:00
bel
4f3c267731 Add test for lua_preload_file 2014-01-19 22:50:13 +01:00
bel
cefffe0858 Lua environment inventory test should print 'connect' function too 2014-01-05 21:06:05 +01:00
bel
65d019b734 Lua script http keep-alive test 2: Use chunked transfer (content length is not known) 2014-01-04 00:27:00 +01:00
bel
4af24a48bc Lua script http keep-alive test 2: Use chunked transfer 2014-01-04 00:05:37 +01:00
bel
dd17fd91fb Lua script http keep-alive test 1: Set content length 2014-01-04 00:04:23 +01:00
bel
154e862dfd Lua script http keep-alive test 1: Set content length 2014-01-03 19:49:55 +01:00
bel
38e842f484 Test 'require' of other Lua libs 2014-01-02 00:26:50 +01:00
bel
a9cdd7960c Test 'require' of other Lua libs 2014-01-02 00:17:13 +01:00
bel
b7760846b5 Improve the Lua test: Test 'require' and escape all characters correctly 2014-01-01 21:12:34 +01:00
bel
9ac3f563d1 Add test for get_cookie Lua function 2013-12-31 12:12:45 +01:00
bel
5f3884f650 Add test for new Lua functions 2013-12-30 10:02:30 +01:00
bel
77323dc4af resource_script_demo needs '/' in the pattern 2013-12-25 23:21:20 +01:00
bel
a4b652d16c Add get_mime_type function for Lua, add test 2013-12-25 21:13:49 +01:00
bel
c6bc192c77 Initial version of a Lua resource script test 2013-12-25 00:15:13 +01:00
bel
33a5dbaca4 Add page.lua with the same functionality as page.lp 2013-12-24 12:03:23 +01:00
bel
9bb13c9232 Add parameter checking in var_get 2013-12-24 10:58:48 +01:00
bel
67b4283fce Add get_var to Lua 2013-12-24 09:45:05 +01:00
bel
491b2e45d4 Add a test for mg.send_file 2013-12-24 00:23:58 +01:00
bel
5a51795323 Support <?= in LSP 2013-12-19 08:01:02 +01:00
bel
8b2f8450eb Add clock hands to the websocket clock demo 2013-12-13 18:36:50 +01:00
bel
c4669103f1 The websocket.lua script sends positions for the clock hands as well 2013-12-13 00:19:33 +01:00
bel
378722090a Remove data base logging from the websocket example. Do not serve regular (non websocket) requests with websocket.lua 2013-12-12 23:43:50 +01:00
bel
d4ee6a1dc6 Lua websockets should use the cooperative Lua threading model with timeouts 2013-11-30 00:53:20 +01:00
bel
b648dfccb9 Add html page for websocket test 2013-11-23 00:12:26 +01:00
bel
cef3eb30a3 Provide websockets for Lua 2013-11-22 23:26:02 +01:00
bel
956e15e1c2 Test: Lua server page (lp/lsp) vs. plain Lua (lua) 2013-11-20 00:19:49 +01:00
bel
66daec3ed7 Use .lua in the .lp test 2013-11-18 21:51:55 +01:00
bel
ec0aa95d55 Append plain Lua scripts to the test 2013-11-18 21:23:17 +01:00
bel
551b941e83 Clean up Lua integration - carve out the LP-SSI and the LUA-CGI analogy 2013-11-18 21:05:38 +01:00
bel
b7364c1f1f Check relation between a lua script, a CGI script and a lp file 2013-11-02 09:52:18 +01:00
bel
f04a3e6723 retry database operation if database is busy 2013-11-02 03:15:46 +01:00
bel
f598f10d72 WebSocket test could use busy_timeout of DB instead of busy loop 2013-10-27 01:26:51 +02:00