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

185 Commits

Author SHA1 Message Date
bel
88770422b9 Documentation for Websocket for Lua 2014-06-11 23:40:59 +02:00
bel
73135887de Rewrite websocket for Lua (Step 18 of ?) 2014-06-11 22:51:34 +02:00
bel
1bb0b78e04 Extend test: Read content of POST request 2014-06-10 23:40:07 +02:00
bel
838ae24645 Add test for PUT/DELETE in Lua resource scripts 2014-06-10 22:37:18 +02:00
bel
661a1bac39 Rewrite websocket for Lua (Step 16 of ?) 2014-06-09 22:44:45 +02:00
bel
e7f26f92e0 Rewrite websocket for Lua (Step 15 of ?) 2014-06-09 01:34:23 +02:00
bel
021341c362 Rewrite websocket for Lua (Step 10 of ?) 2014-05-24 00:56:28 +02:00
bel
ab3bc563cd Rewrite websocket for Lua (Step 9 of ?) 2014-05-24 00:14:37 +02:00
bel
6e8415d4e5 Rewrite websocket for Lua (Step 8 of ?) 2014-05-22 23:51:32 +02:00
bel
e2f8196be3 Rewrite websocket for Lua (Step 7 of ?) 2014-05-22 23:17:07 +02:00
bel
dbcae1b0e8 Rewrite websockets for Lua (Step 6 of ?) 2014-05-21 22:52:07 +02:00
bel
5d7c1d165b Rewrite websockets for Lua (Step 5 of ?) 2014-05-21 22:32:08 +02:00
bel
c9adad6e81 Rewrite websockets for Lua (Step 3 of ?) 2014-05-18 00:09:14 +02:00
bel
5522ad9555 Rewrite websockets for Lua (Step 1 of ?) 2014-05-11 21:55:08 +02:00
bel2125
76813c8d0b Merge pull request #21 from dalgaaf/wip-da-sca
Various fixes from SCA and Coverity
2014-04-28 23:29:14 +02:00
bel
4b0bfbb55b Error4xx page should be an error404 page. The error 403 (e.g., list a directory if enable_directory_listing no is configured) will show the error.lua page 2014-04-24 22:23:29 +02:00
Danny Al-Gaaf
d36e535c65 unit_test.c: fix printf, remove unused parameter
Fix for:
[test/unit_test.c:827]: (warning) printf format string requires 0
 parameters but 1 is given.
[test/unit_test.c:833]: (warning) printf format string requires 0
 parameters but 1 is given.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-04-24 11:25:05 +02:00
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