1
0
mirror of https://git.kore.io/kore.git synced 2024-11-10 12:20:37 +01:00
kore/examples/tasks
Dennis Dillert ef37ab611d Fix bug: Added syscalls for tasks example.
The tasks example stopped working on Linux (Ubuntu 22.04) due to the use of missing syscalls, which have been added in this fix. In addition, the definition files have been updated to include the newer clone3 system call (in the Linux kernel since 5.6) for new process and thread creation.
2023-04-02 22:08:24 +02:00
..
conf Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
src Fix bug: Added syscalls for tasks example. 2023-04-02 22:08:24 +02:00
README.md kore -> kodev where appropriate 2017-03-06 11:00:53 +01: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:

	$ kodev build

Run:

	$ kodev 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)