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

3203 Commits

Author SHA1 Message Date
bel2125
f16f8ebdf7 Preliminary fix for #225
lp do not work at the moment, because mg_fopen resets unused outputs
of the struct file. In this fix, the required size member is copied
from the previous call to mg_stat.

However, the real maintenance problem is, operations like mg_fopen
and mg_stat have to do exactly and exclusively what their names
suggest. They should not set different members of a common output
structure (struct file).
But this will be a more comprehensive change which needs more time.
2015-11-27 23:56:38 +01:00
bel2125
63cdbe0648 Remove instrumentation 2015-11-27 20:37:43 +01:00
bel2125
f4d86792b5 Autoformat after merge 2015-11-27 20:31:03 +01:00
bel2125
a7080226f8 Fix websockets for Lua for Linux
Websockets for Lua only works if the used mutex is recursive
2015-11-27 20:10:10 +01:00
bel2125
1473a00ce2 Add Lua script to exit the server 2015-11-27 20:10:10 +01:00
bel2125
16e5a04b74 Add shell helper script for coverity check 2015-11-27 20:10:10 +01:00
bel2125
0af14a185e Add instrumentation for lock problem in Lua websockets on Linux 2015-11-27 20:10:10 +01:00
bel2125
f1ef34d561 Merge pull request #230 from Red54/patch-1
Add support for GCC below 4.1.0 - note that it will not be thread save for older GCC version (without __sync_fetch_and_add)
2015-11-27 18:43:07 +01:00
Red54
5b840a375d Add support for GCC below 4.1.0. 2015-11-27 15:01:59 +08:00
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
Mateusz Gralka
7cc41a9f20 Merge branch 'master' of https://github.com/civetweb/civetweb into cipher_list 2015-11-26 11:33:28 +01:00
Mateusz Gralka
08c0d6ee53 Removed unused definition. 2015-11-26 11:33:05 +01:00
Mateusz Gralka
aff2a26923 Described new options. 2015-11-26 11:24:24 +01:00
Mateusz Gralka
d9e4230148 Enabled setting protocol version and use of dh parameters. 2015-11-26 10:00:00 +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
Mateusz Gralka
e7122b2208 Merge branch 'master' of https://github.com/civetweb/civetweb into cipher_list 2015-11-18 09:58:35 +01:00
Mateusz Gralka
e6bbd20f2f ssl_cipher_list defaults to NULL. Added a few example settings to the documentation. 2015-11-18 09:58:06 +01:00
Mateusz Gralka
331388f95d Removed unused #define. 2015-11-18 08:38:42 +01:00
bel
851a4cda6b Add HTTPS support to embedded example 2015-11-17 22:03:19 +01:00
Mateusz Gralka
9d90346fc9 Removed old comment. 2015-11-16 14:46:07 +01:00
Mateusz Gralka
e21fe7e7cf Added default value to the description of ssl_cipher_list. 2015-11-16 08:22:10 +01:00
Mateusz Gralka
3435b67fd0 Described ssl_cipher_list option. 2015-11-16 08:18:00 +01:00
Mateusz Gralka
1a40e021a3 Enable setting cipher list. 2015-11-14 11:06:55 +01:00
Daniel Rempel
3ed3e9e736 fix a typo 2015-11-14 03:02:19 +02:00
Daniel Rempel
42e7141ab4 remove executable flag from src/civetweb.c 2015-11-14 02:53:12 +02:00
Daniel Rempel
03ff1ef515 fix: mg_fopen didn't fill in the file size 2015-11-14 02:52:08 +02: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