Commit Graph

  • bb2f0d8b52 Python: improve kore.lock when handling cancelled coroutines. Joris Vink 2020-07-09 20:22:18 +02:00
  • 8235759bca Python: Add kore.app(). Joris Vink 2020-07-05 21:47:22 +02:00
  • 5d86324ee0 Merge branch 'master' into 4.x-releng 4.0.0-rc3 Joris Vink 2020-07-03 08:56:48 +02:00
  • e38c6e5d30 Python: Several fixes for our async curl support. Joris Vink 2020-07-02 08:41:17 +02:00
  • 122a86013b Python: respond with 500 in case of a coroutine error. Joris Vink 2020-06-30 09:57:48 +02:00
  • 1d411b5551 Add release file on branch Joris Vink 2020-06-29 09:32:02 +02:00
  • 2316f1016d Always prune disconnected clients at the end of the event loop. Joris Vink 2020-06-26 12:25:07 +02:00
  • bb17b26903 4.0.0-rc2 4.0.0-rc2 Joris Vink 2020-06-17 08:25:36 +02:00
  • 9007f099a9 Merge branch 'master' into 4.0.0-releng Joris Vink 2020-06-17 08:21:53 +02:00
  • 74432aeff7 Set netwait to 10ms if a signal is pending. Joris Vink 2020-06-16 17:29:45 +02:00
  • d7220edbf0 Merge branch 'master' into 4.0.0-releng Joris Vink 2020-06-09 21:45:10 +02:00
  • ce8290cefc Add missing test for SYS_stat, fixes the build on arm64. Frederic Cambus 2020-06-09 17:07:23 +02:00
  • d0191fa054 Merge branch 'master' into 4.0.0-releng Joris Vink 2020-06-09 12:23:08 +02:00
  • 8a39d18196 work around different dirname()/basename() implementations. Joris Vink 2020-06-09 12:22:22 +02:00
  • 3b225b1c63 Merge branch 'master' into 4.0.0-releng Joris Vink 2020-06-06 12:08:54 +02:00
  • 30e9b642a0 Skip ACME worker process if ACME isnt built-in. Joris Vink 2020-06-05 14:21:39 +02:00
  • 6bb66e796c Add RELEASE file Joris Vink 2020-06-03 08:24:47 +02:00
  • dcb34033fa trailing whitespace Joris Vink 2020-05-08 22:43:12 +02:00
  • 40dddbc769 whitespace Joris Vink 2020-04-27 09:07:37 +02:00
  • e53de1cf4f mark kore_worker_entry as noreturn. Joris Vink 2020-03-25 13:35:02 +01:00
  • c83f34c938 Rework http_pretty_error a tiny bit. Joris Vink 2020-03-04 08:36:10 +01:00
  • fe43ed09ac Add the http_pretty_error configuration option. Frederic Cambus 2020-03-03 12:53:18 +01:00
  • db31f37ab0 Add a "return" configuration option. Joris Vink 2020-03-03 11:28:16 +01:00
  • 9e5e698e4b only count TLS enabled domains as primary_dom. Joris Vink 2020-02-21 13:58:03 +01:00
  • 82d7b58405 Add trailing byte in http_token and http_field_content. Joris Vink 2020-02-19 10:38:41 +01:00
  • 1a64d202de Mention http_server_version Joris Vink 2020-02-19 08:28:03 +01:00
  • b4ebee5913 Add the http_server_version configuration option. Frederic Cambus 2020-02-18 22:29:41 +01:00
  • cc6ab4f05d Allow the stat syscall in keymgr, it is used in keymgr_save_randfile(). Frederic Cambus 2020-02-13 14:32:44 +01:00
  • 4115df69f6 adjust for configuration changes Joris Vink 2020-02-11 11:04:10 +01:00
  • b24bc43051 Variable ‘c’ was set but not used so remove it, broke the build with GCC 9.2.0. Frederic Cambus 2020-02-10 15:37:32 +01:00
  • 6ba56bb8f6 adjust copyright years Joris Vink 2020-02-10 15:35:41 +01:00
  • 9d0aef0079 bump copyright Joris Vink 2020-02-10 14:47:33 +01:00
  • fa2e8ef0b6 Add support for config based redirection. Joris Vink 2020-02-07 06:42:33 +01:00
  • 6072828d8f Improve BSD platform event code. Joris Vink 2020-01-24 19:36:32 +01:00
  • d86a10afa1 allow use udata in kore.timer() via the data kwarg. Joris Vink 2020-01-22 09:42:41 +01:00
  • 2d380cac3f Expose our async libcurl support to the Python api. Joris Vink 2020-01-18 19:43:38 +01:00
  • 6f31e14e83 sprinkle kore_quiet around Joris Vink 2020-01-17 22:25:52 +01:00
  • 01cc981632 Improve waiting on workers to exit take 2. Joris Vink 2020-01-17 21:48:55 +01:00
  • d8ff8e2c18 Improve waiting on children to exit. Joris Vink 2020-01-17 21:43:56 +01:00
  • 445163f7c5 Add support for setting an email for ACME. Joris Vink 2020-01-13 11:00:40 +01:00
  • ff40f04693 Remove forgotten debug message. Frederic Cambus 2020-01-07 15:28:30 +01:00
  • 14095a7702 Revert chunk that snuck in last commit. Joris Vink 2019-12-13 20:30:13 +01:00
  • 243cd4e6a0 kore_listener_init() returns KORE_RESULT_OK or KORE_RESULT_ERROR. Joris Vink 2019-12-13 09:14:26 +01:00
  • 1d30760aa0 use X509_NAME_ENTRY* functions directly. Joris Vink 2019-11-19 13:00:17 +01:00
  • ca70f9d726 TLS improvements. Joris Vink 2019-11-19 11:09:24 +01:00
  • 283cd6da54 allow NULL pointers to cleanup/free calls. Joris Vink 2019-11-19 09:44:13 +01:00
  • 56c33f85d4 change client_authority to client_verify. Joris Vink 2019-11-18 20:30:52 +01:00
  • 31c0caf901 tasks example is now built as a single binary Joris Vink 2019-11-16 19:45:32 +01:00
  • c6dbf16b65 Account for the change from 'static' to 'route' in the CLI tool as well. Frederic Cambus 2019-11-15 22:39:27 +01:00
  • f8accef3f7 allow access/accessat at all times in keymgr. Joris Vink 2019-11-15 09:28:33 +01:00
  • f6cd16c567 Replace static/dynamic with a single option: route Joris Vink 2019-11-15 08:11:02 +01:00
  • 73757a29d5 Make dumb compilers happy. Joris Vink 2019-11-15 07:49:16 +01:00
  • 0aa4769777 its about time LDFLAGS are appended instead of set. Joris Vink 2019-11-14 23:48:27 +01:00
  • b3b5aa37b7 Allow acme config via python api Joris Vink 2019-11-13 23:01:24 +01:00
  • 9bcf6fdf6d wording Joris Vink 2019-11-13 15:57:07 +01:00
  • 7c78526e82 pull in ptrace.h Joris Vink 2019-11-13 15:56:36 +01:00
  • 7cf0006f52 fix potential NULL dereferences. Joris Vink 2019-11-13 11:23:02 +01:00
  • ff2d961be7 add ACME mention Joris Vink 2019-11-07 12:25:14 +01:00
  • e2930f29c1 wrap pledge stuff into an ifdef __OpenBSD__ block. Joris Vink 2019-11-07 08:29:38 +01:00
  • bb39643b48 small acme fixes. Joris Vink 2019-11-07 07:56:13 +01:00
  • c78535aa5d Add acmev2 (RFC8555) support to Kore. Joris Vink 2019-11-06 19:33:53 +01:00
  • eef1a05868 Change the way the linux syscall maps are made. Joris Vink 2019-11-06 11:57:25 +01:00
  • b226b6ca89 Allow seccomp to work on arm64 and i386. Joris Vink 2019-11-05 13:12:43 +01:00
  • aa01e5e504 If OPENSSL_PATH is set, append lib to it. Joris Vink 2019-11-04 21:16:00 +01:00
  • 68ce436fa7 expand previous commit further, check proto as well. Joris Vink 2019-11-04 07:23:21 +01:00
  • 0eab72f4cd Only call http_check_timeout on established clients. Joris Vink 2019-11-03 22:28:48 +01:00
  • 068b295427 remove error pledge, die hard. Joris Vink 2019-11-03 19:52:47 +01:00
  • 811b2eb3f0 Add dns to pledges when initializing curl Raymond Pasco 2019-11-03 11:47:49 +01:00
  • 8311c036d9 Add seccomp_tracing configuration option for linux. Joris Vink 2019-10-31 12:52:10 +01:00
  • 16afcb66d0 kodev MINIMAL=1 shouldn't include mime types either. Joris Vink 2019-10-31 09:55:14 +01:00
  • ca17e08ad9 Add MIMINAL=1 build to kodev. Joris Vink 2019-10-31 09:44:47 +01:00
  • 699ba3c0fe Make sure json offset advanced upon end of object/array. Joris Vink 2019-10-30 10:02:51 +01:00
  • 7b5046873a Make sure we wakeup the coroutine that called proc.reap(). Joris Vink 2019-10-29 15:12:20 +01:00
  • ebee0f3752 nope, changed my mind, drop libressl 2.7.5. Joris Vink 2019-10-28 12:47:51 +01:00
  • d001b022a7 Cleanup ifdef mess for different OpenSSL based libs. Joris Vink 2019-10-28 12:33:39 +01:00
  • 18c76abab3 use curl-config instead of pkg-config. Joris Vink 2019-10-28 12:18:15 +01:00
  • 4808365f8a Make sure things build with libressl 3.0.0 Joris Vink 2019-10-27 21:20:47 +01:00
  • 5f03f991c9 Change kore_json_find() to operate on a kore_json_item. Joris Vink 2019-10-25 12:27:16 +02:00
  • f637d617aa Allow SECCOMP_KILL_POLICY to be overwritten at build. Joris Vink 2019-10-23 15:01:31 +02:00
  • 99763d520b make sure we can run this outside the tree Joris Vink 2019-10-23 13:50:51 +02:00
  • 80a63fd4b1 Generate syscall maps from kernel tbl files if available. Joris Vink 2019-10-23 13:39:25 +02:00
  • da959e8275 reset curl timer if nothing is running anymore. Joris Vink 2019-10-23 12:38:31 +02:00
  • 890eb78fd8 Improve our new JSON api a bit. Joris Vink 2019-10-22 23:56:47 +02:00
  • 790d020ce9 Stop a python coro from getting stuck with httpclient. Joris Vink 2019-10-22 17:06:32 +02:00
  • 0430c36a08 Adjust for new kore_curl_init() Joris Vink 2019-10-21 21:20:16 +02:00
  • a119f18a23 Adjust to new kore_curl_init(). Joris Vink 2019-10-21 13:29:26 +02:00
  • b64ae5d111 Allow kore_curl calls to be synchronous. Joris Vink 2019-10-21 13:26:44 +02:00
  • 22ebfae240 missing kore_free() Joris Vink 2019-10-20 23:55:08 +02:00
  • 00f505e3f3 simplify strtod() error checking. Joris Vink 2019-10-20 23:43:54 +02:00
  • 88330a5fcd missing kore_free() Joris Vink 2019-10-20 23:42:37 +02:00
  • dc55a48d87 Add native JSON parser example Joris Vink 2019-10-20 23:40:08 +02:00
  • e94cc2f3a8 Yikes, add the actual JSON parser code.. Joris Vink 2019-10-20 23:30:10 +02:00
  • 06fa452c96 Add a full native JSON parser to Kore. Joris Vink 2019-10-20 23:22:11 +02:00
  • 7da7141c21 remove FILEREF_DEBUG that sneaked in Joris Vink 2019-10-16 12:13:21 +02:00
  • cdc3347120 Add kore.sendmsg(object, worker=None) to the python api. Joris Vink 2019-10-16 12:05:27 +02:00
  • ffb9fd2fc5 Align kore memory functions on 16-byte boundaries. Joris Vink 2019-10-15 21:33:43 +02:00
  • e90e3749a7 use Py_InitializeEx and do not install python signals. Joris Vink 2019-10-15 21:18:38 +02:00
  • bdc75556fe call PyErr_Clear() in python_callable(). Joris Vink 2019-10-15 16:03:39 +02:00
  • a1c1245ef7 don't call Py_DECREF on list in configure Joris Vink 2019-10-15 15:53:08 +02:00
  • 0f4d5294ad store active pid into apid so it does not overwritten. Joris Vink 2019-10-15 14:25:57 +02:00