bel
b97fbb6948
Allow to build 3rd party components with warnings - set to true automatically if 3rd party componets are used
2015-11-01 17:54:22 +01:00
bel
fcc69f8ee2
Allow to build 3rd party components with warnings
2015-11-01 17:49:45 +01:00
bel
97596344e2
Fix some warnings
2015-10-31 00:15:15 +01:00
bel2125
538aa60514
SSL certs for tests: Add pfx files
2015-10-30 19:28:53 +01:00
bel
407e628b0b
Merge #217 with a another (incomplete) implementation of the same issue, and format code
2015-10-30 01:25:19 +01:00
bel2125
b9b940577a
Merge pull request #217 from MGralka/ssl_client
...
Use SSL client certificates
2015-10-30 01:00:17 +01:00
Mateusz Gralka
3e78c7957b
Fixed broken link.
2015-10-29 13:00:22 +01:00
Mateusz Gralka
5288801700
Updated user manual.
2015-10-29 12:53:30 +01:00
Mateusz Gralka
d732357e00
Option for enabling/disabling forward secrecy.
2015-10-29 12:49:56 +01:00
Mateusz Gralka
18c39907b3
Description of new options.
2015-10-29 09:44:48 +01:00
Mateusz Gralka
5f920313fb
CA file, settings for loading ssl default cert paths and chain depth, fixed tabs, more memory for config dialog.
2015-10-28 14:36:09 +01:00
Mateusz Gralka
9a3e5cde11
Additional options for ssl connection.
2015-10-28 12:36:14 +01:00
Mateusz Gralka
01c22c76d8
Enable peer verification in set_ssl_option. Updated user manual for new config options.
2015-10-28 12:02:46 +01:00
Mateusz Gralka
ef1f58425c
Modified .gitignore.
2015-10-28 09:12:07 +01:00
Mateusz Gralka
d119ccf361
Verify existence of CA directory.
2015-10-28 08:50:50 +01:00
Mateusz Gralka
c801dbf412
Fixed ssl_ca_path option type and TODO.
2015-10-28 08:34:19 +01:00
Mateusz Gralka
67381552b4
Merge branch 'master' of https://github.com/civetweb/civetweb into ssl_client
2015-10-28 08:10:51 +01:00
Mateusz Gralka
418a555403
Options for verifying client certificate in SSL/TLS connection and .setting CA path for the server.
2015-10-28 08:09:27 +01:00
bel
29cb09973b
Format C++ example
2015-10-27 21:52:01 +01:00
bel
64e6264676
Add example how to handle PUT and POST in C++
2015-10-27 21:40:48 +01:00
bel2125
baee5d3ddc
Merge pull request #216 from kainjow/patch-1
...
Fix redefinition of timespec in VS2015
2015-10-27 20:45:09 +01:00
Kevin Wojniak
61fcfcda68
Fix redefinition of timespec in VS2015
...
VS2015 now defines timespec
2015-10-27 10:43:35 -07:00
bel2125
f75286c064
Create certificates for server and client tests
2015-10-26 00:33:32 +01:00
bel
62899cbd09
Websockent client: do 32 bit xor mask only if data is 4 byte aligned im memory (clean merge #210 )
2015-10-18 22:30:04 +02:00
bel
35093e42bf
Websockent client: handle data size != n*4 (clean merge #210 )
2015-10-18 22:15:08 +02:00
bel
cca04297a0
Use better random number generator
2015-10-18 19:45:27 +02:00
bel
2e2cf78ab0
Use random number to generate websocket client mask
2015-10-18 00:14:41 +02:00
bel
7f6bd998dd
Add some TODOs after merge #210
2015-10-16 21:53:46 +02:00
bel2125
d8ade358c0
Merge pull request #210 from tnoho/tnoho
...
Add mg_websocket_client_write (some TODOs are to be fixed)
2015-10-16 20:17:40 +02:00
tnoho
22877d8f2f
Fix masking method
2015-10-16 16:30:49 +09:00
bel
c73d592419
Fix copy-paste error in set_sock_timeout
2015-10-15 21:06:17 +02:00
bel
86723f1315
Add CivetWebSocketHandler to the C++ API
...
Patch from Nick Bulleid
(https://groups.google.com/forum/#!topic/civetweb/-iqfDnVMw2s )
2015-10-15 20:51:27 +02:00
bel
eab2969a98
Initialize all struct timespec and struct timeval with memset
...
Do not only initialize the two mandatory members tv_sec and tv_usec/tv_nsec,
but use memset to initialize the entire structure, in case there are more members.
See also #211
2015-10-15 20:19:47 +02:00
tnoho
e5dc6be068
Add mg_websocket_client_write
2015-10-15 00:52:15 +09:00
bel
ab7c42ae84
Activate Lua and Duktape in CI build
2015-10-12 22:31:34 +02:00
bel
9a9a424511
Duktape: Add http_headers
2015-10-12 21:23:59 +02:00
bel
870772a0b7
Duktape: Add test for civetweb.getoption
2015-10-09 22:27:31 +02:00
bel
e9860d7180
Duktape example: show content of civetweb specific javascript objects
2015-10-09 21:43:16 +02:00
bel
4189a556ab
Fix Duktape test: rename function in test
2015-10-09 20:33:14 +02:00
bel
204ffed2d7
Duktape: get civetweb options
2015-10-08 22:53:08 +02:00
bel
4e7fccf811
Duktape: Add 'civetweb' object
2015-10-07 22:09:04 +02:00
bel
f3fe12c519
Duktape: Add integer connection properties
2015-10-06 21:17:52 +02:00
bel
e7599ba6ef
Duktape: Add connection string properties
2015-10-06 21:14:59 +02:00
bel
799a8e0f19
Duktape: Store connection object as internal property on the Ecmascript function object
...
According to hint in https://github.com/svaarala/duktape/issues/392#issuecomment-145301651
2015-10-05 21:36:06 +02:00
bel
4de9090577
Apply revised clang-format ( #207 ) to all actively maintained source files
2015-10-05 20:58:14 +02:00
bel
8d901773ca
Modify clang-format according to #207 (see comment)
2015-10-05 20:52:25 +02:00
bel
1494876a16
Modify clang-format according to #207
2015-10-05 20:45:36 +02:00
bel
61b84458d2
Duktape: Store conn as internal property on the Ecmascript function object
...
See https://github.com/svaarala/duktape/issues/392#issuecomment-145301651
2015-10-04 21:58:07 +02:00
bel
9308cbd16d
Duktape: Create 'conn' object with 'read' and 'write' function
2015-10-04 21:07:57 +02:00
bel
f24cb97bf8
Duktape: Use internal properties (prefixed by \xFF).
...
According to the documentation http://duktape.org/guide.html#internalproperties
and reccomendations https://github.com/svaarala/duktape/issues/392#issuecomment-145301192
http://duktape.org/guide.html#internalproperties
2015-10-04 19:42:29 +02:00