Commit Graph

  • a54f806978 Don't let kore build with openssl 3 again. Joris Vink 2021-12-06 23:58:13 +01:00
  • 0337af2067 note on openssl 3 Joris Vink 2021-12-06 21:27:11 +01:00
  • 06803e2592 Get kore to at least build with openssl 3 Joris Vink 2021-12-06 21:21:21 +01:00
  • 93bf18be81 Handle DELETE maybe having a request body. Joris Vink 2021-12-06 14:44:07 +01:00
  • 480e589dd5 The DELETE method may have a request body. Joris Vink 2021-12-06 14:43:52 +01:00
  • 6b2609c2b8 Allow DELETE for kore.httpclient() to have body. Joris Vink 2021-12-06 14:16:58 +01:00
  • a9ee15bff6 Improve closing of a kore.socket() in Python API. Joris Vink 2021-12-02 22:47:17 +01:00
  • 5ac62b17bc Python coro under-the-hood improvements. Joris Vink 2021-12-02 21:58:13 +01:00
  • 86ecb85f03 use correct privsep name for acme Joris Vink 2021-12-02 19:33:20 +01:00
  • 0d39e5c62a Allow setting of TARGET_PLATFORM. Joris Vink 2021-11-29 15:43:43 +01:00
  • efc7b3d9a6 Improve how the parent handles workers. Joris Vink 2021-11-03 17:23:05 +01:00
  • 155c7dfbde prefix fatal messages with FATAL Joris Vink 2021-11-03 17:22:53 +01:00
  • a7e1d1d22a Remove keymgr cleaning keys logs. Joris Vink 2021-11-03 17:16:34 +01:00
  • 01e85fd717 Two small python improvements. Joris Vink 2021-11-03 15:19:43 +01:00
  • 5962a94504 wrap pipeline in PG_VERSION_NUM >= 140000 Joris Vink 2021-10-27 22:39:29 +02:00
  • 960730a062 On MacOS put the OpenSSL flags under FEATURES_INC. Joris Vink 2021-10-27 22:28:08 +02:00
  • fa97544f01 Handle PGRES_PIPELINE_* for PQResult() Joris Vink 2021-10-27 22:27:42 +02:00
  • c68eb0c705 make sure we add to LDFLAGS Joris Vink 2021-10-27 17:59:14 +02:00
  • 995b6b8586 On macos use pkg-config for openssl. Joris Vink 2021-10-27 14:34:06 +02:00
  • 98d5909b7d bring back python_import and python_path. Joris Vink 2021-10-20 11:20:25 +02:00
  • 23b95448cc Hide worker logs behind kore_quiet. Joris Vink 2021-10-05 12:29:50 +02:00
  • 0af7258c30 Don't include kore config in all builds just yet. Joris Vink 2021-10-04 19:18:15 +02:00
  • d078bdfb95 Add a gen command to kodev. Joris Vink 2021-09-22 22:39:42 +02:00
  • 1fcc9345a6 add cflags/ldflags commands to kodev. Joris Vink 2021-09-22 20:50:09 +02:00
  • 3e85d36532 The *_CheckExact() family sets no exceptions. Joris Vink 2021-09-22 16:48:21 +02:00
  • af45284641 count acme domains when configured with Python Joris Vink 2021-09-21 20:47:23 +02:00
  • 01370c262d fix builds with DEBUG. Joris Vink 2021-09-21 20:47:16 +02:00
  • 17ceb32e23 Cleanup single/dso files properly with kodev clean. Joris Vink 2021-09-17 20:23:20 +02:00
  • 46b7a962bf be verbose about filemap resolving. Joris Vink 2021-09-21 14:01:20 +02:00
  • 31aaf128a1 Check for .so file where we create it Joel Arbring 2021-09-17 15:22:46 +02:00
  • 63bbc1fa0f Be sure content_length is 0, just in case. Joris Vink 2021-09-17 19:56:35 +02:00
  • 6b1f02e6b0 Remove another dead assignment. Joris Vink 2021-09-17 19:53:31 +02:00
  • 9f6043bbde Remove dead assignment. Joris Vink 2021-09-17 19:52:52 +02:00
  • bcfb79a389 Remove dead assignment and unused vars. Joris Vink 2021-09-17 19:49:32 +02:00
  • 351eec7eb4 Add the on_body_chunk handler for routes. Joris Vink 2021-09-17 19:28:06 +02:00
  • f5a58368b7 HTTP improvements. Joris Vink 2021-09-15 22:16:22 +02:00
  • e98a4ddab5 Change how routes are configured in Kore. Joris Vink 2021-09-15 11:09:52 +02:00
  • 2576427dc0 Simplify if a worker needs to be added to msg. Joris Vink 2021-09-14 15:45:34 +02:00
  • a2d48feeb7 Lets make sure milliseconds are formatted nicely. Joris Vink 2021-09-14 09:36:33 +02:00
  • 41511c1683 Log timestamps in UTC for, add milliseconds. Joris Vink 2021-09-14 09:30:17 +02:00
  • b6ec4081d5 Oops, remove debug. Joris Vink 2021-09-13 22:55:09 +02:00
  • 824d6421d5 Use correct format for strftime(). Joris Vink 2021-09-13 22:54:05 +02:00
  • 983f5a03f5 Initial mem and log earlier. Joris Vink 2021-09-13 15:33:42 +02:00
  • 450aabbea1 Add timestamp prefix to log when not using syslog. Joris Vink 2021-09-13 15:07:43 +02:00
  • 77848e0708 Always use logfile when set, even if !foreground. Joris Vink 2021-09-12 15:19:37 +02:00
  • 4b4767ac39 Missed committing http.h from previous commit. Joris Vink 2021-09-12 15:12:48 +02:00
  • 862bf1a5f6 Add http_response_json(). Joris Vink 2021-09-12 15:10:06 +02:00
  • cdd681d602 Let http_response_header() handle duplicates. Joris Vink 2021-09-12 14:30:33 +02:00
  • eb0b8f21e3 Add http_response_close() to the C API. Joris Vink 2021-09-12 14:13:24 +02:00
  • b77d727f72 Add a logfile configuration option. Joris Vink 2021-09-10 13:34:57 +02:00
  • ff6bae6513 move startup log back into kore_server_start(). Joris Vink 2021-09-07 23:26:36 +02:00
  • a6677b873f On linux, keep track of seccomp tracing properly. Joris Vink 2021-09-07 23:05:25 +02:00
  • 1af0772ebe Don't add acme to msg framework if not needed. Joris Vink 2021-09-07 22:27:02 +02:00
  • 116f935e10 use the correct name for acme. Joris Vink 2021-09-07 22:19:21 +02:00
  • 9fd30db598 Change timeout for worker startup a bit. Joris Vink 2021-09-07 22:14:28 +02:00
  • bbae4be6f1 remove unused kore_progname. Joris Vink 2021-09-07 22:06:18 +02:00
  • 3b20cda11c Rework worker startup/privsep config. Joris Vink 2021-09-07 21:59:22 +02:00
  • 1c33ce01d0 Add kore_build_date to version.c Joris Vink 2021-09-07 21:58:53 +02:00
  • c8c9a24d99 Only set initial python deployment if needed. Joris Vink 2021-09-07 21:15:17 +02:00
  • 599835e7fd Python: Only use parameters if needed. Joris Vink 2021-09-06 15:39:38 +02:00
  • 0ac54eb48d Add a kore.config.skipchroot to the Python API. Joris Vink 2021-09-06 14:35:04 +02:00
  • 00ef837d62 call explicit fflush() on stdout Joris Vink 2021-09-06 14:15:53 +02:00
  • 06991d22d5 remove norwegian debug Joris Vink 2021-09-06 13:40:33 +02:00
  • 7f56c7dbf2 Change how worker processes do logging. Joris Vink 2021-09-06 13:28:38 +02:00
  • 8661aee2f4 only log key info if !kore_quiet Joris Vink 2021-09-06 13:26:54 +02:00
  • ebe090833d add Matthew to BEERS Joris Vink 2021-09-05 18:04:54 +02:00
  • 5f11f796a8 Allow configuration to pickup values from environment. Joris Vink 2021-09-05 17:53:09 +02:00
  • 3c4acd9ac3 Allow curlopt keyword at httpclient request level. Joris Vink 2021-08-27 10:42:40 +02:00
  • 3eff4b9790 whitespace fixes Joris Vink 2021-08-27 10:12:11 +02:00
  • 355cf87b93 use correct format specifier. Joris Vink 2021-08-27 10:06:45 +02:00
  • 55aaef875d Add support for setting curlopts in kore.httpclient. Joris Vink 2021-08-27 10:00:50 +02:00
  • 89085246e5 style nits Joris Vink 2021-07-10 10:03:01 +02:00
  • 6d7c774ba2 remove support for older openssl apis in keymgr. Joris Vink 2021-07-10 10:02:53 +02:00
  • 90056dbdcb make python_module_init() non static Joris Vink 2021-07-10 10:02:46 +02:00
  • 95139925ec Add query string support to the Python validator API. Joris Vink 2021-06-18 13:00:57 +02:00
  • f1a65ef236 Small improvement to the Python kore.timer() api. Joris Vink 2021-06-03 14:02:28 +02:00
  • f39919e98c Add readlinkat to seccomp whitelist. Joris Vink 2021-05-10 23:05:58 +02:00
  • d4a78de5fc Add madvise to keymgr seccomp rules. Joris Vink 2021-05-10 14:51:30 +02:00
  • 12909b98bb be explicit Joris Vink 2021-05-10 10:32:54 +02:00
  • 61c06291b6 Add a docker python kore.config.deployment setting. Joris Vink 2021-05-10 10:27:32 +02:00
  • 0abc9b19ff simplify the python-async example Joris Vink 2021-05-02 16:25:46 +02:00
  • 66dd856bdc and add the echo.py file of course.. Joris Vink 2021-05-02 16:08:32 +02:00
  • 5e84ebdab2 Simplify the echo example, kore can just run the file nowadays. Joris Vink 2021-05-02 16:07:41 +02:00
  • 582e18d2ec Stop hardcoding HTTP error codes in http_response() calls. Frederic Cambus 2021-04-21 14:36:39 +02:00
  • fb335e1e0c Major Python API improvements. Joris Vink 2021-05-02 00:23:11 +02:00
  • c4a60c54bb resolve tls_dhparam after configure. Joris Vink 2021-04-21 22:39:35 +02:00
  • c77ec598e7 Remove dh parameters from kodev. Joris Vink 2021-04-21 10:52:02 +02:00
  • cf9e97f087 Improve TLS settings and dependencies. Joris Vink 2021-04-21 10:48:00 +02:00
  • 960fe5afd3 drop unused __init__ in cli generation Joris Vink 2021-04-20 10:00:46 +02:00
  • a27227d37f Rework how kodev create does python apps. Joris Vink 2021-04-19 09:47:18 +02:00
  • b6cb6c14f2 kore_json_strerror() no longer takes a param. Joris Vink 2021-04-18 11:57:53 +02:00
  • 087da688dd Stop hardcoding HTTP error codes in http_error_response() calls. Frederic Cambus 2021-04-14 15:14:26 +02:00
  • eea4177657 new BEERs available for grabs Joris Vink 2021-04-09 20:16:57 +02:00
  • a92f6d17cc Stop hardcoding HTTP/1.1 in access logs, Kore also supports HTTP/1.0. Frederic Cambus 2021-04-08 10:11:48 +02:00
  • 44bffcb1c9 Unix socket path improvements. Joris Vink 2021-04-08 09:25:19 +02:00
  • b6570e10a9 Do not send the HSTS header if tls is not enabled in the server context. Frederic Cambus 2021-04-07 11:57:45 +02:00
  • cc276e2471 Add kore_json_item_attach(). Joris Vink 2021-04-08 09:10:58 +02:00
  • 81a09a04d6 Use route instead of old static/dynamic. Joris Vink 2021-04-07 14:52:41 +02:00
  • a160a9e7ff Use the correct directive for unix binds. Joris Vink 2021-04-07 14:51:11 +02:00
  • 9cfcd9a4be JSON API improvements. Joris Vink 2021-03-30 14:19:48 +02:00