1
0
mirror of https://git.kore.io/kore.git synced 2024-11-16 15:06:37 +01:00
kore/examples/tasks
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
..
conf Default to only TLSv1.2 from now on. 2015-05-06 10:59:43 +02:00
src Attach tasks/pgsqls to http_requests once more. 2014-08-14 22:05:34 +02:00
README.md KORE_LDFLAGS is no more. 2014-10-22 18:48:43 +02:00

Kore task example.

This example creates an asynchronous task from the page handler that performs a POST to the same server and fetches its data before returning to the client.

Build:

	# env LDFLAGS="-I/path/to/libcurl -lcurl" kore build

Run:

	# kore run

Test:

	# curl -i -k https://127.0.0.1:8888/?user=astring
	The returned data must match what you supplied in user ([a-z] string)