-rw-r--r-- | .gitignore | 13L |
-rw-r--r-- | BEERS | 44L |
-rw-r--r-- | LICENSE | 15L |
-rw-r--r-- | Makefile | 306L |
-rw-r--r-- | README.md | 133L |
-rw-r--r-- | RELEASE.md | 31L |
-rw-r--r-- | conf/kore.conf.example | 367L |
-rw-r--r-- | examples/Makefile | 47L |
-rw-r--r-- | examples/async-curl/.gitignore | 6L |
-rw-r--r-- | examples/async-curl/README.md | 12L |
-rw-r--r-- | examples/async-curl/conf/async-curl.conf | 23L |
-rw-r--r-- | examples/async-curl/conf/build.conf | 34L |
-rw-r--r-- | examples/async-curl/src/ftp.c | 82L |
-rw-r--r-- | examples/async-curl/src/http.c | 141L |
-rw-r--r-- | examples/async-curl/src/init.c | 25L |
-rw-r--r-- | examples/cookies/README.md | 10L |
-rw-r--r-- | examples/cookies/conf/build.conf | 18L |
-rw-r--r-- | examples/cookies/conf/cookies.conf | 26L |
-rw-r--r-- | examples/cookies/src/cookies.c | 58L |
-rw-r--r-- | examples/cpp/.gitignore | 5L |
-rw-r--r-- | examples/cpp/README.md | 24L |
-rw-r--r-- | examples/cpp/conf/build.conf | 22L |
-rwxr-xr-x | examples/cpp/conf/cpp.conf | 18L |
-rwxr-xr-x | examples/cpp/src/cpp.cpp | 36L |
-rw-r--r-- | examples/cpp/src/example_class.cpp | 28L |
-rw-r--r-- | examples/cpp/src/example_class.h | 30L |
-rw-r--r-- | examples/generic/README.md | 11L |
-rw-r--r-- | examples/generic/assets/index.html | 15L |
-rw-r--r-- | examples/generic/assets/intro.jpg | 837150B |
-rw-r--r-- | examples/generic/assets/params.html | 33L |
-rw-r--r-- | examples/generic/assets/private.html | 16L |
-rw-r--r-- | examples/generic/assets/private_test.html | 15L |
-rw-r--r-- | examples/generic/assets/style.css | 16L |
-rw-r--r-- | examples/generic/assets/upload.html | 22L |
-rw-r--r-- | examples/generic/conf/build.conf | 22L |
-rw-r--r-- | examples/generic/conf/generic.conf | 81L |
-rw-r--r-- | examples/generic/src/example.c | 291L |
-rwxr-xr-x | examples/headers/.gitignore | 5L |
-rw-r--r-- | examples/headers/README.md | 13L |
-rw-r--r-- | examples/headers/conf/build.conf | 18L |
-rwxr-xr-x | examples/headers/conf/headers.conf | 17L |
-rwxr-xr-x | examples/headers/src/headers.c | 24L |
-rwxr-xr-x | examples/integers/.gitignore | 5L |
-rw-r--r-- | examples/integers/README.md | 14L |
-rw-r--r-- | examples/integers/conf/build.conf | 18L |
-rwxr-xr-x | examples/integers/conf/integers.conf | 27L |
-rwxr-xr-x | examples/integers/src/check_integers.c | 56L |
-rwxr-xr-x | examples/json/.gitignore | 5L |
-rw-r--r-- | examples/json/README.md | 13L |
-rw-r--r-- | examples/json/conf/build.conf | 18L |
-rwxr-xr-x | examples/json/conf/json.conf | 19L |
-rwxr-xr-x | examples/json/src/json.c | 62L |
-rwxr-xr-x | examples/jsonrpc/.gitignore | 7L |
-rw-r--r-- | examples/jsonrpc/README.md | 67L |
-rw-r--r-- | examples/jsonrpc/conf/build.conf | 19L |
-rw-r--r-- | examples/jsonrpc/conf/jsonrpc.conf | 22L |
-rw-r--r-- | examples/jsonrpc/src/home.c | 14L |
-rw-r--r-- | examples/jsonrpc/src/v1.c | 116L |
-rw-r--r-- | examples/jsonrpc/test/integ/jsonrpc.bats | 121L |
-rw-r--r-- | examples/memtag/.gitignore | 6L |
-rw-r--r-- | examples/memtag/conf/build.conf | 34L |
-rw-r--r-- | examples/memtag/conf/memtag.conf | 18L |
-rw-r--r-- | examples/memtag/src/memtag.c | 65L |
-rw-r--r-- | examples/messaging/.gitignore | 5L |
-rw-r--r-- | examples/messaging/README.md | 15L |
-rw-r--r-- | examples/messaging/conf/build.conf | 18L |
-rw-r--r-- | examples/messaging/conf/messaging.conf | 22L |
-rw-r--r-- | examples/messaging/src/messaging.c | 90L |
-rw-r--r-- | examples/nohttp/.gitignore | 5L |
-rw-r--r-- | examples/nohttp/README.md | 14L |
-rw-r--r-- | examples/nohttp/conf/build.conf | 25L |
-rw-r--r-- | examples/nohttp/conf/nohttp.conf | 12L |
-rw-r--r-- | examples/nohttp/src/init.c | 25L |
-rw-r--r-- | examples/nohttp/src/nohttp.c | 92L |
-rwxr-xr-x | examples/parameters/.gitignore | 5L |
-rw-r--r-- | examples/parameters/README.md | 14L |
-rw-r--r-- | examples/parameters/conf/build.conf | 18L |
-rwxr-xr-x | examples/parameters/conf/parameters.conf | 26L |
-rwxr-xr-x | examples/parameters/src/parameters.c | 74L |
-rw-r--r-- | examples/pgsql-sync/.gitignore | 5L |
-rw-r--r-- | examples/pgsql-sync/conf/build.conf | 18L |
-rw-r--r-- | examples/pgsql-sync/conf/pgsql-sync.conf | 18L |
-rw-r--r-- | examples/pgsql-sync/src/pgsql-sync.c | 93L |
-rwxr-xr-x | examples/pgsql/.gitignore | 5L |
-rw-r--r-- | examples/pgsql/README.md | 14L |
-rw-r--r-- | examples/pgsql/conf/build.conf | 18L |
-rwxr-xr-x | examples/pgsql/conf/pgsql.conf | 28L |
-rw-r--r-- | examples/pgsql/src/init.c | 47L |
-rw-r--r-- | examples/pgsql/src/pgsql.c | 244L |
-rw-r--r-- | examples/pgsql/src/pgsql_cb.c | 136L |
-rwxr-xr-x | examples/pipe_task/.gitignore | 5L |
-rw-r--r-- | examples/pipe_task/README.md | 25L |
-rw-r--r-- | examples/pipe_task/assets/frontend.html | 42L |
-rw-r--r-- | examples/pipe_task/conf/build.conf | 25L |
-rwxr-xr-x | examples/pipe_task/conf/pipe_task.conf | 24L |
-rw-r--r-- | examples/pipe_task/src/init.c | 25L |
-rwxr-xr-x | examples/pipe_task/src/pipe_task.c | 193L |
-rw-r--r-- | examples/python-async/.gitignore | 6L |
-rw-r--r-- | examples/python-async/README.md | 20L |
-rw-r--r-- | examples/python-async/app.py | 28L |
-rw-r--r-- | examples/python-async/async_http.py | 49L |
-rw-r--r-- | examples/python-async/async_lock.py | 39L |
-rw-r--r-- | examples/python-async/async_process.py | 72L |
-rw-r--r-- | examples/python-async/async_queue.py | 58L |
-rw-r--r-- | examples/python-async/async_socket.py | 59L |
-rw-r--r-- | examples/python-echo/.gitignore | 6L |
-rw-r--r-- | examples/python-echo/README.md | 11L |
-rw-r--r-- | examples/python-echo/echo.py | 67L |
-rw-r--r-- | examples/python-pgsql/.gitignore | 6L |
-rw-r--r-- | examples/python-pgsql/README.md | 15L |
-rw-r--r-- | examples/python-pgsql/__init__.py | 7L |
-rw-r--r-- | examples/python-pgsql/app.py | 55L |
-rw-r--r-- | examples/python-pgsql/kore.conf | 18L |
-rwxr-xr-x | examples/sse/.gitignore | 5L |
-rw-r--r-- | examples/sse/README.md | 14L |
-rwxr-xr-x | examples/sse/assets/index.html | 54L |
-rw-r--r-- | examples/sse/conf/build.conf | 18L |
-rwxr-xr-x | examples/sse/conf/sse.conf | 23L |
-rwxr-xr-x | examples/sse/src/sse.c | 182L |
-rw-r--r-- | examples/tasks/README.md | 21L |
-rw-r--r-- | examples/tasks/conf/build.conf | 28L |
-rw-r--r-- | examples/tasks/conf/tasks.conf | 30L |
-rw-r--r-- | examples/tasks/src/init.c | 25L |
-rw-r--r-- | examples/tasks/src/tasks.c | 264L |
-rwxr-xr-x | examples/tls-proxy/.gitignore | 5L |
-rw-r--r-- | examples/tls-proxy/README.md | 19L |
-rw-r--r-- | examples/tls-proxy/conf/build.conf | 18L |
-rwxr-xr-x | examples/tls-proxy/conf/tls-proxy.conf | 20L |
-rwxr-xr-x | examples/tls-proxy/src/proxy.c | 275L |
-rw-r--r-- | examples/upload/.gitignore | 5L |
-rw-r--r-- | examples/upload/conf/build.conf | 18L |
-rw-r--r-- | examples/upload/conf/upload.conf | 21L |
-rw-r--r-- | examples/upload/src/upload.c | 118L |
-rwxr-xr-x | examples/video_stream/.gitignore | 5L |
-rw-r--r-- | examples/video_stream/README.md | 22L |
-rw-r--r-- | examples/video_stream/assets/video.html | 18L |
-rw-r--r-- | examples/video_stream/conf/build.conf | 20L |
-rwxr-xr-x | examples/video_stream/conf/video_stream.conf | 25L |
-rwxr-xr-x | examples/video_stream/src/stream.c | 276L |
-rw-r--r-- | examples/video_stream/videos/placeholder | 1L |
-rwxr-xr-x | examples/websocket/.gitignore | 5L |
-rw-r--r-- | examples/websocket/README.md | 17L |
-rw-r--r-- | examples/websocket/assets/frontend.html | 60L |
-rw-r--r-- | examples/websocket/conf/build.conf | 18L |
-rwxr-xr-x | examples/websocket/conf/websocket.conf | 29L |
-rwxr-xr-x | examples/websocket/src/websocket.c | 66L |
-rw-r--r-- | include/kore/acme.h | 60L |
-rw-r--r-- | include/kore/curl.h | 106L |
-rw-r--r-- | include/kore/hooks.h | 32L |
-rw-r--r-- | include/kore/http.h | 481L |
-rw-r--r-- | include/kore/jsonrpc.h | 88L |
-rw-r--r-- | include/kore/kore.h | 1139L |
-rw-r--r-- | include/kore/lua_api.h | 30L |
-rw-r--r-- | include/kore/lua_methods.h | 49L |
-rw-r--r-- | include/kore/pgsql.h | 116L |
-rw-r--r-- | include/kore/python_api.h | 57L |
-rw-r--r-- | include/kore/python_methods.h | 1059L |
-rw-r--r-- | include/kore/seccomp.h | 179L |
-rw-r--r-- | include/kore/sha1.h | 49L |
-rw-r--r-- | include/kore/sha2.h | 84L |
-rw-r--r-- | include/kore/tasks.h | 98L |
-rw-r--r-- | kodev/Makefile | 59L |
-rw-r--r-- | minisign.pub | 2L |
-rwxr-xr-x | misc/curl-extract-opt.sh | 47L |
-rw-r--r-- | misc/curl/python_curlopt.h | 288L |
-rw-r--r-- | misc/ffdhe4096.pem | 13L |
-rw-r--r-- | misc/hooks/post-receive | 55L |
-rwxr-xr-x | misc/linux-platform.sh | 50L |
-rw-r--r-- | misc/linux/aarch64_syscall.h.in | 302L |
-rw-r--r-- | misc/linux/arm_syscall.h.in | 409L |
-rw-r--r-- | misc/linux/x86_64_syscall.h.in | 358L |
-rwxr-xr-x | misc/python3-config.sh | 20L |
-rw-r--r-- | src/accesslog.c | 340L |
-rw-r--r-- | src/acme.c | 1758L |
-rw-r--r-- | src/auth.c | 173L |
-rw-r--r-- | src/bsd.c | 331L |
-rw-r--r-- | src/buf.c | 190L |
-rw-r--r-- | src/cli.c | 2632L |
-rw-r--r-- | src/config.c | 2119L |
-rw-r--r-- | src/connection.c | 450L |
-rw-r--r-- | src/curl.c | 762L |
-rw-r--r-- | src/domain.c | 218L |
-rw-r--r-- | src/filemap.c | 326L |
-rw-r--r-- | src/fileref.c | 244L |
-rw-r--r-- | src/http.c | 2610L |
-rw-r--r-- | src/json.c | 960L |
-rw-r--r-- | src/jsonrpc.c | 478L |
-rw-r--r-- | src/keymgr_openssl.c | 1418L |
-rw-r--r-- | src/kore.c | 1025L |
-rw-r--r-- | src/linux.c | 280L |
-rw-r--r-- | src/log.c | 160L |
-rw-r--r-- | src/lua.c | 601L |
-rw-r--r-- | src/mem.c | 324L |
-rw-r--r-- | src/module.c | 252L |
-rw-r--r-- | src/msg.c | 309L |
-rw-r--r-- | src/net.c | 432L |
-rw-r--r-- | src/pgsql.c | 812L |
-rw-r--r-- | src/pool.c | 304L |
-rw-r--r-- | src/python.c | 7033L |
-rw-r--r-- | src/route.c | 138L |
-rw-r--r-- | src/runtime.c | 295L |
-rw-r--r-- | src/seccomp.c | 533L |
-rw-r--r-- | src/sha1.c | 172L |
-rw-r--r-- | src/sha2.c | 879L |
-rw-r--r-- | src/tasks.c | 369L |
-rw-r--r-- | src/timer.c | 110L |
-rw-r--r-- | src/tls_none.c | 172L |
-rw-r--r-- | src/tls_openssl.c | 1223L |
-rw-r--r-- | src/utils.c | 758L |
-rw-r--r-- | src/validator.c | 139L |
-rw-r--r-- | src/websocket.c | 366L |
-rw-r--r-- | src/worker.c | 1086L |
-rw-r--r-- | tools/kore-serve/.gitignore | 6L |
-rw-r--r-- | tools/kore-serve/conf/build.conf | 27L |
-rw-r--r-- | tools/kore-serve/conf/kore-serve.conf | 2L |
-rw-r--r-- | tools/kore-serve/src/kore-serve.c | 95L |