kore/src
Joris Vink 862bf1a5f6 Add http_response_json().
Since its an HTTP response function it functions like http_response() but
takes a kore_json_item pointer that it will automatically convert to a kore_buf
and send/free using http_response_stream().

While here fix a problem with http_response_stream() which could end up
not calling the cb() in case of HTTP_METHOD_HEAD. Since the behaviour is
that it should call cb() when done it should do so immediately.
2021-09-12 15:10:06 +02:00
..
accesslog.c Stop hardcoding HTTP/1.1 in access logs, Kore also supports HTTP/1.0. 2021-04-08 10:20:37 +02:00
acme.c Rework worker startup/privsep config. 2021-09-07 21:59:22 +02:00
auth.c Stop hardcoding HTTP error codes in http_response() calls. 2021-05-02 16:03:18 +02:00
bsd.c bump copyright year. 2021-01-11 23:46:08 +01:00
buf.c bump copyright year. 2021-01-11 23:46:08 +01:00
cli.c Major Python API improvements. 2021-05-02 00:32:47 +02:00
config.c Add a logfile configuration option. 2021-09-10 13:34:57 +02:00
connection.c bump copyright year. 2021-01-11 23:46:08 +01:00
curl.c bump copyright year. 2021-01-11 23:46:08 +01:00
domain.c resolve tls_dhparam after configure. 2021-04-21 22:39:35 +02:00
filemap.c Rework worker startup/privsep config. 2021-09-07 21:59:22 +02:00
fileref.c style nits 2021-07-10 10:03:01 +02:00
http.c Add http_response_json(). 2021-09-12 15:10:06 +02:00
json.c Add kore_json_item_attach(). 2021-04-08 09:10:58 +02:00
jsonrpc.c Stop hardcoding HTTP error codes in http_response() calls. 2021-05-02 16:03:18 +02:00
keymgr.c Rework worker startup/privsep config. 2021-09-07 21:59:22 +02:00
kore.c move startup log back into kore_server_start(). 2021-09-07 23:26:36 +02:00
linux.c bump copyright year. 2021-01-11 23:46:08 +01:00
log.c Add a logfile configuration option. 2021-09-10 13:34:57 +02:00
mem.c bump copyright year. 2021-01-11 23:46:08 +01:00
module.c Major Python API improvements. 2021-05-02 00:32:47 +02:00
msg.c Don't add acme to msg framework if not needed. 2021-09-07 22:27:02 +02:00
net.c bump copyright year. 2021-01-11 23:46:08 +01:00
pgsql.c bump copyright year. 2021-01-11 23:46:08 +01:00
pool.c bump copyright year. 2021-01-11 23:46:08 +01:00
python.c use the correct name for acme. 2021-09-07 22:19:21 +02:00
runtime.c bump copyright year. 2021-01-11 23:46:08 +01:00
seccomp.c Add readlinkat to seccomp whitelist. 2021-05-10 23:05:58 +02:00
tasks.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
timer.c bump copyright year. 2021-01-11 23:46:08 +01:00
utils.c remove unused kore_progname. 2021-09-07 22:06:18 +02:00
validator.c bump copyright year. 2021-01-11 23:46:08 +01:00
websocket.c bump copyright year. 2021-01-11 23:46:08 +01:00
worker.c On linux, keep track of seccomp tracing properly. 2021-09-07 23:05:25 +02:00