bel2125
e5adc3377d
Support build for Lua 5.1 (for LuaJIT), Lua 5.2 and Lua 5.3 (Step 6/?)
...
See #195
2015-08-23 10:16:36 +02:00
bel2125
19b7e4d12e
Support build for Lua 5.1 (for LuaJIT), Lua 5.2 and Lua 5.3 (Step 5/?)
...
See #195
2015-08-22 23:10:58 +02:00
bel2125
5197106e0a
Support build for Lua 5.1 (for LuaJIT), Lua 5.2 and Lua 5.3 (Step 4/?)
...
See #195
2015-08-22 22:22:08 +02:00
bel
5f189803bb
Support build for Lua 5.1 (for LuaJIT), Lua 5.2 and Lua 5.3 (Step 3/?)
...
See #195
2015-08-22 21:50:17 +02:00
bel
b06ded3056
Support build for Lua 5.1 (for LuaJIT), Lua 5.2 and Lua 5.3 (Step 2/?)
...
See #195
2015-08-22 21:43:38 +02:00
bel
2c614b584c
Support build for Lua 5.1 (for LuaJIT), Lua 5.2 and Lua 5.3 (Step 1/?)
...
See #195
2015-08-22 21:21:38 +02:00
bel
ba1c07d7bb
Increase test timeout
...
There are still tests exceeding the 10 second limit,
although they usually take 1 second.
e.g. https://travis-ci.org/civetweb/civetweb/jobs/76692175
2015-08-22 21:04:02 +02:00
bel2125
d50aef8b61
LuaJIT support (Step 2/?)
2015-08-21 21:54:10 +02:00
bel2125
7687e25db8
LuaJIT support (Step 1/?)
2015-08-21 21:15:58 +02:00
bel
79ad5cb4b4
Use MG_LEGACY_INTERFACE define for deprecated interfaces
2015-08-19 21:23:18 +02:00
bel
9f3f8baac0
Update websocket example - use the current interface
2015-08-19 21:15:22 +02:00
bel
615970e9d1
Update websocket example to use the current interface
2015-08-19 20:58:40 +02:00
bel
17f3949f24
Set deprecated remote_ip member as LEGACY_INTERFACE
2015-08-19 19:51:57 +02:00
bel2125
1c3577891b
Do not log messages if sendfile does not work on Linux
...
send_file_data is not only called for real files,
but also pipes of CGI processes, SSI output pipes,
and maybe pseudo files (like /sys/class/net/eth0/address, see #190 ).
2015-08-18 23:16:18 +02:00
bel2125
e063d2e98c
Allow CGI environment to grow dynamically
...
See #187
2015-08-18 22:48:25 +02:00
bel2125
9754c53bab
Fix TODO: CGI port for IPv6
2015-08-18 20:50:32 +02:00
bel2125
49b19deaad
Error handling in remove_directory
2015-08-18 20:31:01 +02:00
bel2125
c5d806bf44
Set proper #ifdeds for some unused functions for Windows
2015-08-17 19:22:07 +02:00
bel2125
30afbf03f7
Set a minumum test timeout for all unit tests
...
See #94 (https://github.com/civetweb/civetweb/issues/94#issuecomment-131843701 )
2015-08-17 19:15:09 +02:00
bel2125
c1832493a4
Roll back merge #193
...
Merge "added public mg_is_context_stopped() function #193 " adds a function,
which will cause a memory use after free during normal operation.
See comment https://github.com/civetweb/civetweb/pull/193#issuecomment-131705655
2015-08-17 15:34:21 +02:00
bel
86cc4c9e4b
Set #ifdef for unused variable
2015-08-17 00:51:00 +02:00
bel
03e65fa601
Increase test timeout for server tests
2015-08-17 00:29:12 +02:00
bel
5c94f638a7
Add wss:// to unit test
2015-08-17 00:04:55 +02:00
bel
f3bf12b0f5
Autoformat after merging pull request
2015-08-16 23:56:57 +02:00
bel2125
d7acd43548
Merge pull request #193 from jmucchiello/master
...
added public mg_is_context_stopped() function
2015-08-16 23:52:13 +02:00
bel
3d569971b8
Build all feature combinations with Travis
2015-08-16 23:42:07 +02:00
bel
98a099653d
Currently supported Lua version for civetweb is 5.2.4
2015-08-16 23:13:11 +02:00
bel
7be1331c87
Set #ifdef to avoid unreachable code
2015-08-16 22:59:42 +02:00
bel
b1e93e70e5
Fix for mg_inet_pton on Linux
...
While getaddrinfo on Windows will work with [::1],
getaddrinfo on Linux only works with ::1 (without []).
2015-08-16 22:32:33 +02:00
bel
a440a482e8
Additional builds on appveyor
2015-08-16 21:32:29 +02:00
bel
18ddb5e1bd
Check appveyor build server settings (same checks as travis)
2015-08-16 21:26:59 +02:00
bel
1a775bedac
More builds for Travis CI
2015-08-16 20:56:48 +02:00
bel
d4aedf6420
forward_body_data is required by CGI and file PUT
2015-08-16 13:42:20 +02:00
bel
3257b82e68
Correct some #ifdef conditions in the unit test
2015-08-16 13:41:29 +02:00
bel
28b82c9a0a
Autoformat source
2015-08-16 13:01:43 +02:00
bel
b125f0aab1
Add unit test for mg_start_thread
2015-08-16 12:59:51 +02:00
bel
77785a7751
Avoid unused parameters and functions warnings
2015-08-16 12:19:34 +02:00
bel
e5e516d1dd
Avoid unused variable warning
2015-08-16 12:15:26 +02:00
bel
ab10c5383d
Update Visual Studio VS2012 unit test project
2015-08-16 11:51:25 +02:00
bel
64a547caa1
Variable no longer used -> remove it
2015-08-16 11:47:23 +02:00
bel
a11c12c7c5
Travis: Check if IPv6 is enabled at the build server
2015-08-16 11:45:39 +02:00
bel
2e348608f8
Exit sendfile loop if there is no error but 0 byte data sent
...
See #190
2015-08-16 11:28:38 +02:00
bel
d14ece6c1b
Allow to set NO_CGI option for CMake
2015-08-16 11:14:47 +02:00
bel
73280057eb
More builds for Travis CI
2015-08-16 11:14:10 +02:00
Joe Mucchiello
5a450af611
missing semi
2015-08-14 19:44:02 -04:00
Joe Mucchiello
a2b208bdbf
Added mg_is_context_stopped
...
Long running client code sometimes needs to know when civetweb is
exiting so that it can cleanly abort a long process.
2015-08-14 18:26:29 -04:00
bel
0839ca8b29
Enable IPv6 build with Travis
2015-08-13 20:23:50 +02:00
bel
cba00b4b61
Some files can not be sent using sendfile
...
It seems some Linux pseudo-files can not be sent using sendfile,
e.g., files within the sysfs like /sys/class/net/eth0/address
See #190
2015-08-13 20:19:54 +02:00
bel2125
8ea9381129
Merge pull request #191 from hansipie/master
...
Unit test: Compilation Fix if USE_WEBSOCKET is not defined
2015-08-13 08:48:09 +02:00
hansipie
d0bd16794d
Compilation Fix
...
Conditionnal compilation around use of ws_client3_data. It is defined
only in case of USE_WEBSOCKET
2015-08-13 03:00:48 +02:00