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

2433 Commits

Author SHA1 Message Date
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
bel
2a26c4ca7e Use content variable in unit test for unencrypted files 2015-08-12 22:21:36 +02:00
bel
4e92540165 Add unit test for gzip-ed files
See #189
2015-08-12 22:13:02 +02:00
bel
94b38ccc65 Add zipped test file 2015-08-12 21:50:38 +02:00
bel
f8d95ec004 Set "is found" for gz files
Fix for #189
2015-08-12 21:49:50 +02:00
bel
12523c8faa Add repository moved to release notes 2015-08-12 00:41:08 +02:00
bel
114ef86698 Update repository link in LICENSE.md: bel2125/civetweb --> civetweb/civetweb 2015-08-12 00:37:36 +02:00
bel
40817a350a Autoformat unit test 2015-08-12 00:29:51 +02:00
bel
b43088672a Update repository link in main.c: bel2125/civetweb --> civetweb/civetweb 2015-08-11 23:15:09 +02:00
bel
8a71399f0a Update version number and repository link for buildroot 2015-08-11 23:13:11 +02:00
bel
25e7595b8f Update repository link: bel2125/civetweb --> civetweb/civetweb 2015-08-11 23:12:40 +02:00
bel
b23c0e653a Update repository link in header: bel2125/civetweb --> civetweb/civetweb 2015-08-11 23:10:47 +02:00
bel
6a6764221a Update repository in resources: bel2125/civetweb --> civetweb/civetweb 2015-08-11 23:07:30 +02:00
bel
706b4479e6 Update repository for debian package homepage settings: bel2125/civetweb --> civetweb/civetweb 2015-08-11 23:06:36 +02:00
bel
a169c9a2e8 Update repository in documentation: bel2125/civetweb --> civetweb/civetweb 2015-08-11 22:45:38 +02:00
bel
7bcb79b495 Check value of thread ID before calling mg_join_thread
See #188
2015-08-11 16:38:20 +02:00
bel2125
4c9571b967 Add TODO mark for analysis of websocket locking issues on Linux 2015-08-09 23:12:11 +02:00
bel2125
c3b56146c3 Local unit test: consolidate path for Linux 2015-08-09 22:55:48 +02:00