Joris Vink 384bc8fdd6 Default to only TLSv1.2 from now on.
Add configuration setting tls_version to specify if you
either want TLSv1.2 or TLSv1.0 or both.

The configuration options ssl_cipher and ssl_dhparam
have changed name to tls_cipher and tls_dhparam. There is
no fallback so you might have to update your configs.
2015-05-06 10:59:43 +02:00
..
2015-05-06 10:59:43 +02:00
2015-04-07 13:11:31 +02:00
2015-04-01 07:59:32 -04:00
2015-04-01 07:59:32 -04:00
2015-04-07 13:10:28 +02:00

Kore example showing how to use C++ support!

All functions accessible to kore must have their prototypes wrapped with the extern keyword like so:

extern “C” {
	int pageA(struct http_request *);
	int pageB(struct http_request *);
	int validatorA(struct http_request *, char *);
}

In order to run this example with the default C++ settings (default compiler dialect, libstdc++):

	# kore run

In order to run with a specific dialect and C++ runtime:

	# env CXXSTD=c++11 CXXLIB=c++ kore run

You can also supply your own compiler combined with the above:

	# env CC=clang++ CXXSTD=c++11 CXXLIB=c++ kore run