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

2616 Commits

Author SHA1 Message Date
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
bel
b5bae0dfaf Update README: The repository is moved from bel2125/civetweb to civetweb/civetweb 2015-08-09 21:59:04 +02:00
bel
73f8dfbfea Test API function to check available features 2015-08-09 21:41:18 +02:00
bel
721f694c24 Add API function to check available features 2015-08-09 21:36:07 +02:00
bel
c27d976160 Unit test: set timeout using 'tcase_set_timeout' 2015-08-09 01:06:54 +02:00
bel
6171a73183 Unit test: remove printf again, since they do not help
Travis CI fails with "(after this point) Test timeout expired"
The idea was to print something to stdout every some seconds,
but this does not help. Thus, the printf lines are removed again.
2015-08-09 00:58:41 +02:00
bel
376ea12aeb Unit test: print something from the unit test, so test frameworks do not consider the test as hanging 2015-08-09 00:43:03 +02:00
bel
5cad205b02 Unit test: rename wait function 2015-08-09 00:13:30 +02:00
bel
813ff0955e Unit test: rewrite wait for websocket messages 2015-08-09 00:10:38 +02:00
bel
559a9cad03 Unit test: also the unit test must be warning free for all compilers 2015-08-08 23:38:11 +02:00
bel
c1b179c437 Unit test: also the unit test must be warning free 2015-08-08 23:28:53 +02:00
bel
e43de03ee8 Unit test: also the unit test must be warning free 2015-08-08 23:24:45 +02:00
bel
bcf7f23742 Unit test: Add test for websocket server and client 2015-08-08 22:50:37 +02:00
bel
052f7d33b3 Unit test: create a function for locating the ssl cert in different test environments 2015-08-08 21:12:38 +02:00
bel
26d3671ad7 Appveyor: download SSL only if it does not exist 2015-08-07 21:13:46 +02:00
bel
386cf41afa Appveyor: download SSL only if it does not exist 2015-08-07 20:55:30 +02:00
bel
b5e339537b Appveyor: openSSL must be installed every time
Otherwise the CI tests will stop with error
load_dll: cannot load libeay32.dll
2015-08-07 09:37:35 +02:00
bel
19c4b48d94 Add some URIs to unit test 2015-08-06 23:12:14 +02:00