mirror of
https://git.kore.io/kore.git
synced 2024-11-16 15:06:37 +01:00
384bc8fdd6
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. |
||
---|---|---|
.. | ||
conf | ||
src | ||
README.md |
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)