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

2630 Commits

Author SHA1 Message Date
bel
bbbe470d9f Unit tests: rename all test case instances 2015-11-26 23:39:20 +01:00
bel
4bc859d665 Fix copy/paste error in unit test 2015-11-26 22:40:39 +01:00
bel
dddb5cf235 Fix typing error in unit test 2015-11-26 22:34:04 +01:00
bel
4c8979c077 Some code is unreachable in the unit test - disable the clang compiler warning at these lines 2015-11-26 22:28:14 +01:00
bel
1efb65f20b Unit test: mask_data is only available if built with websocket support 2015-11-26 22:23:20 +01:00
bel
c7d5e24f92 Fix signed/unsigned comp in unit test 2015-11-25 23:51:22 +01:00
bel
87e8f2e8c2 Remove TODO mark 2015-11-25 23:37:29 +01:00
bel
641a742128 Add helper funktion for mask_data and enhance test for websocket clients 2015-11-25 23:18:33 +01:00
bel
e4de33ab69 Don't use CMake for Duktape
CMake will not be used for third party libraries like Lua and Duktape,
at least for the moment (see #94).
2015-11-23 21:04:13 +01:00
bel
29ce2faccf Don't use CMake for Lua
CMake works for civetweb.c, but it does not work for CivetWeb built with Lua.
Maybe it would be possible to create a suitable CMake build (see #94),
but running CI tests are more important.

It is still possible to build with Lua using the Makefile and the Visual Studio
solution in the current project. The Makefile and the Solution remain supported
for the Lua build.
2015-11-22 21:13:19 +01:00
bel
6fea50d46c Try to add Lua build for CMake 2015-11-20 00:08:34 +01:00
bel
d516696195 Add a minimal description of mg.url_decode
Add a mimimal comment to the UserManual about the Lua function mg.url_decode
See #228

A more comprehensive documentation has to be added later.
2015-11-20 00:02:56 +01:00
bel
851a4cda6b Add HTTPS support to embedded example 2015-11-17 22:03:19 +01:00
bel
183e96bed9 Fix unit test 2015-11-12 22:22:14 +01:00
bel
d1c2d7bb9b Undo move of include <string.h> in #222 2015-11-11 21:10:06 +01:00
bel
40aacf0533 Fix some TODOs 2015-11-10 22:07:46 +01:00
bel
6ecc57fa23 Fix unit tests 2015-11-10 21:03:33 +01:00
bel
37a48e0f14 Fix unit tests 2015-11-10 20:58:09 +01:00
bel2125
ebb33f0cca Merge pull request #222 from fremouw/master
fixed os x build, added missing bracket.
2015-11-10 20:01:35 +01:00
Maarten Fremouw
723a149e65 fixed os x build, added missing bracket. 2015-11-10 16:41:11 +01:00
bel
2170d188ab Fix set_sock_timeout (Win/Linux ifdef) 2015-11-09 23:39:35 +01:00
bel
dfd25b63a3 Use instance UID as TLS session ID 2015-11-09 23:12:35 +01:00
bel
b3064181ae Auto format after merge 2015-11-09 23:11:48 +01:00
bel
7dd91a2367 Fix warning in test 2015-11-09 23:11:15 +01:00
bel2125
f78f36ece1 Merge pull request #220 from PhilLab/master
Adding removeWebSocketHandler
2015-11-05 19:06:38 +01:00
Philipp Hasper
a9c11e10be Adding removeWebSocketHandler 2015-11-05 11:26:33 +01:00
bel2125
4ff207afc2 Merge pull request #219 from MGralka/session_cache_fix
Enable session cache on server side.
2015-11-04 18:21:43 +01:00
Mateusz Gralka
323da06cd4 Enable session cache on server side. 2015-11-04 08:24:40 +01:00
bel
ada9d9b00b Client API using SSL certificates (draft, Step 1/?) 2015-11-01 22:57:55 +01:00
bel
69f222f3d4 Add some server unit tests 2015-11-01 19:54:02 +01:00
bel
b97fbb6948 Allow to build 3rd party components with warnings - set to true automatically if 3rd party componets are used 2015-11-01 17:54:22 +01:00
bel
fcc69f8ee2 Allow to build 3rd party components with warnings 2015-11-01 17:49:45 +01:00
bel
97596344e2 Fix some warnings 2015-10-31 00:15:15 +01:00
bel2125
538aa60514 SSL certs for tests: Add pfx files 2015-10-30 19:28:53 +01:00
bel
407e628b0b Merge #217 with a another (incomplete) implementation of the same issue, and format code 2015-10-30 01:25:19 +01:00
bel2125
b9b940577a Merge pull request #217 from MGralka/ssl_client
Use SSL client certificates
2015-10-30 01:00:17 +01:00
Mateusz Gralka
3e78c7957b Fixed broken link. 2015-10-29 13:00:22 +01:00
Mateusz Gralka
5288801700 Updated user manual. 2015-10-29 12:53:30 +01:00
Mateusz Gralka
d732357e00 Option for enabling/disabling forward secrecy. 2015-10-29 12:49:56 +01:00
Mateusz Gralka
18c39907b3 Description of new options. 2015-10-29 09:44:48 +01:00
Mateusz Gralka
5f920313fb CA file, settings for loading ssl default cert paths and chain depth, fixed tabs, more memory for config dialog. 2015-10-28 14:36:09 +01:00
Mateusz Gralka
9a3e5cde11 Additional options for ssl connection. 2015-10-28 12:36:14 +01:00
Mateusz Gralka
01c22c76d8 Enable peer verification in set_ssl_option. Updated user manual for new config options. 2015-10-28 12:02:46 +01:00
Mateusz Gralka
ef1f58425c Modified .gitignore. 2015-10-28 09:12:07 +01:00
Mateusz Gralka
d119ccf361 Verify existence of CA directory. 2015-10-28 08:50:50 +01:00
Mateusz Gralka
c801dbf412 Fixed ssl_ca_path option type and TODO. 2015-10-28 08:34:19 +01:00
Mateusz Gralka
67381552b4 Merge branch 'master' of https://github.com/civetweb/civetweb into ssl_client 2015-10-28 08:10:51 +01:00
Mateusz Gralka
418a555403 Options for verifying client certificate in SSL/TLS connection and .setting CA path for the server. 2015-10-28 08:09:27 +01:00
bel
29cb09973b Format C++ example 2015-10-27 21:52:01 +01:00
bel
64e6264676 Add example how to handle PUT and POST in C++ 2015-10-27 21:40:48 +01:00