bel
a6aceeb7ed
SSL_read: errno must only be used if SSL_get_error returned SSL_ERROR_SYSCALL
...
see https://www.openssl.org/docs/ssl/SSL_get_error.html amd #184
2015-08-01 21:52:26 +02:00
bel
01aeee05b3
Ports are already assigned
2015-07-31 23:07:37 +02:00
bel
d41560744e
Use IPv6 only optional
2015-07-31 23:00:07 +02:00
bel
224c0ebb88
Use IPv4 and IPv6 in the unit test
2015-07-31 22:53:13 +02:00
bel
01a890f9bb
Some IPv6 fixes for the client
2015-07-31 22:52:29 +02:00
bel
71150f6f71
Rewrite conn2
2015-07-31 22:33:46 +02:00
bel
578284e07d
IPv6 is not always enabled
2015-07-31 21:43:17 +02:00
bel
b904a49127
Try CI tests for IPv6
2015-07-31 21:38:13 +02:00
bel
a2906702ca
Add NO_FILES build to the CI test environment
2015-07-31 18:49:18 +02:00
bel
ddbeff24c3
Build option CIVETWEB_SERVE_NO_FILES to disable serving static files
...
See #182
2015-07-31 18:33:06 +02:00
bel
5bc867833a
Merge branch 'vcatechnology-no-files'
2015-07-31 18:23:26 +02:00
Matt Clarkson
b60e5ab55c
Adds the NO_FILES definition to the CMake build
...
The flag is controlled with the CIVETWEB_ENABLE_SERVE_FILES and should be
set to NO to disable static file serving.
2015-07-31 10:54:12 +01:00
bel
6e292051de
Add unauthorized PUT unit test
2015-07-30 22:25:17 +02:00
bel
a536cb035c
Create file for unit tests instead of relying on certain working directories in the unit test environment
...
It seems to be impossible to find out what the actual working
directory of the CI test environment is. Before breaking another
dozen of builds by trying blindly with different paths, just
create the file here.
2015-07-30 22:18:50 +02:00
bel
3abbb3d862
Fix unit test 12
2015-07-30 21:42:30 +02:00
bel
047c7ef33a
More unit tests
2015-07-30 21:35:21 +02:00
bel
0b33fedc70
Maybe CI tests use a different working directory?
2015-07-30 21:23:48 +02:00
bel
a8d86856b0
More unit tests
2015-07-30 20:06:33 +02:00
bel
74ca308238
Try to reactivate HTTPS test (test if this works in CI integration test environment)
2015-07-30 19:57:04 +02:00
bel
9fef901840
Unit test needs a newline at the end of file, otherwise clang integration tests will fail
2015-07-30 00:03:24 +02:00
bel
b249a2f69f
More unit tests
2015-07-29 23:55:55 +02:00
bel
03d5785b3c
More unit tests
2015-07-29 22:32:51 +02:00
bel
8722b8153a
Autoformat source
2015-07-29 22:23:03 +02:00
bel
bf0e85ac0a
More unit tests
2015-07-29 22:21:55 +02:00
bel
a05056b252
More unit tests
2015-07-29 21:56:49 +02:00
bel
90d4dd6a99
More unit tests
2015-07-29 21:46:42 +02:00
bel
b21b3b6661
Set TODO mark to rewrite mg_upload ( #180 )
2015-07-29 19:47:46 +02:00
bel
0e5206006c
Store return value of callbacks as status code for the access log
...
See #178
2015-07-28 22:07:18 +02:00
bel
e5cd69ef3c
Autoformat source code
2015-07-28 21:33:26 +02:00
bel2125
1ee06dabaa
Merge pull request #181 from mapero/master
...
Support Sec-WebSocket-Protocol header tag
2015-07-28 21:16:44 +02:00
Jochen Scheib
e1917feb0d
Fix: error: suggest parentheses around assignment used as truth value
2015-07-28 10:35:35 +02:00
Jochen Scheib
970b8dd643
Support Sec-WebSocket-Protocol header tag
2015-07-28 10:20:07 +02:00
bel
3eacf14e5c
Rewrite string handling (Step 10/?)
2015-07-27 23:06:49 +02:00
bel
e41fb47332
Rewrite string handling (Step 9/?)
2015-07-27 22:31:58 +02:00
bel
5c0092e0a7
Rewrite string handling (Step 8/?)
2015-07-27 22:28:32 +02:00
bel
af0eca2684
Rewrite string handling (Step 7/?)
2015-07-27 22:17:41 +02:00
bel
4a84bd11fe
Rewrite string handling (Step 6/?)
2015-07-27 21:44:02 +02:00
bel
125049597b
Fix or mark some issues from static code analysis
2015-07-27 21:09:40 +02:00
bel
fb48aaa354
Rewrite string handling (Step 5/?)
2015-07-26 23:37:55 +02:00
bel
df207abae5
Rewrite string handling (Step 4/?)
2015-07-26 21:37:34 +02:00
bel
e6a293590d
Allow scripts to use the PATCH HTTP method (RFC 5789)
...
See https://tools.ietf.org/html/rfc5789
This method is only allowed for CGI, Lua/LSP scripts and callbacks,
not for static resources such ase files.
2015-07-26 21:08:59 +02:00
bel
ec81082452
Rewrite string handling (Step 3/?)
...
Check consequences of string truncation for all mg_(v)snprintf uses.
Add TODO(high).
2015-07-26 00:15:37 +02:00
bel
b469698e9a
Rewrite string handling (Step 2/?)
2015-07-25 23:49:45 +02:00
bel
8ea5607c54
Rewrite string handling (Step 1/?)
...
Replace all uses of (v)snprintf by mg_(v)snprintf
See issue #175
(Step 1 is a commit of a partial work and will not build)
2015-07-25 22:53:24 +02:00
bel
622ea2f659
Clang-Format every source file
2015-07-25 19:51:24 +02:00
bel
61879c6d35
perform mg_get_var and mg_get_cookie in the same unit test with proper name
2015-07-25 19:42:13 +02:00
bel
30ca38745a
mg_get_var unit test
2015-07-25 19:18:55 +02:00
bel
b335a42d19
mg_get_var unit test
2015-07-25 19:15:07 +02:00
bel
7c413551fc
mg_get_var unit test
2015-07-25 18:59:27 +02:00
bel
224d339cdc
mg_get_var unit test
2015-07-25 18:51:38 +02:00