bel2125
1a901e5526
Merge pull request #38 from jshelley/master
...
Implemented initial websocket client support - a few changes to interface and implementation will follow soon.
2014-08-27 21:42:13 +02:00
Jordan
5d465aadad
Fixed the copyright, changed mg_client_websocket_connect to mg_websocket_client_connect
2014-08-26 15:22:22 -04:00
bel
ba13b79d27
Add content length and type to the Lua environment
2014-08-21 21:37:35 +02:00
Jordan
a4eca7c492
Added a unit test for websocket_client functionality, other small fixes
2014-08-21 14:53:47 -04:00
bel
61c52a6fb9
Fix another TODO in the unit test
2014-08-21 00:37:04 +02:00
bel
53d4247314
clean up unit_test: SSL related TODOs are done
2014-08-19 21:58:23 +02:00
bel
2603a43dbf
Fix unit test for SSL redirect
2014-08-19 21:42:40 +02:00
bel
49ecd448ce
Improve unit test for mg_download
2014-08-18 23:46:28 +02:00
bel
a0b8f8de31
Fix unit test for HTTPS
2014-08-17 01:52:21 +02:00
bel
65bcfea12c
Adapt unit test for mg_download, so the tested http operations are standard compliant
2014-08-17 01:06:10 +02:00
Jan Willem Janssen
d1437f9f5d
Make content length available in request_info:
...
- given that the content-length header is already parsed, lets make
it also available in the request_info struct to allow easy access;
- added simple unit test to verify the behavior of the new field.
2014-08-13 15:07:01 +02:00
bel
ed72d40adf
Websocket test should support WSS
2014-07-30 21:25:33 +02:00
bel
1b9430718d
Check for recursions when printing Lua tables in the test
2014-07-26 01:57:42 +02:00
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