bel
47321e98f4
Comments in function skip_quoted
2015-12-06 21:37:34 +01:00
bel
5b30e5f95b
Take inventory of all HTTP methods (function is_valid_http_method)
2015-12-06 00:01:23 +01:00
bel
f9f5f5ce06
Fix compile error
2015-12-04 20:29:20 +01:00
bel2125
ca4e6d60b4
Merge pull request #235 from sunfch/patch-1
...
access log: print query sting in url
2015-12-02 19:34:09 +01:00
sunfch
9e84828a42
print query sting in url
...
replace "?" with ":"
2015-11-30 10:00:09 +08:00
bel
8fbe05852a
Fix #204 : Memory mapped files must not return 1970-01-01 as modification date
2015-11-29 23:38:10 +01:00
sunfch
513d24100a
print query sting in url
...
print query string after character of "?" in url
2015-11-29 23:12:34 +08:00
bel
04db49f20b
Autoformat after merge #234
2015-11-28 23:36:37 +01:00
bel2125
1846aa584f
Merge pull request #234 from rusthon/master
...
CivetServer constructor options as std::vector<std::string>
2015-11-28 23:32:51 +01:00
bel
66aa28b234
Add a bad lua script and a bad lua page for test purposes
2015-11-28 23:05:59 +01:00
brett
c07b562d2d
allow CivetServer constructor to accept options as std::vector<std::string>
...
https://github.com/civetweb/civetweb/issues/233
2015-11-28 13:24:42 -08:00
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
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