Joris Vink
a74fffe40c
Introduce certfile and certkey in the configuration to specify where the certificate file and keys are located on a system.
...
Free unused vars in the main process after starting.
2013-06-05 09:47:08 +02:00
Joris Vink
32a2035ce9
move kore_server_sslstart() into main process, workers will inherit.
2013-06-05 09:32:53 +02:00
Joris Vink
72e09424af
ergg spelling.
2013-06-05 09:30:04 +02:00
Joris Vink
36bf2d34c6
better example configuration.
2013-06-05 09:29:06 +02:00
Joris Vink
150bb8822f
add pidfile to example configuration
2013-06-04 16:53:54 +02:00
Joris Vink
7dfa7e6ec0
be carefull when we reload the module to not reload it when workers are inside the module callbacks.
...
do this by implementing a pthread rwlock, and locking it for reading when going into a callback and locking it for writing when we need to reload the mod.
2013-05-31 00:06:54 +02:00
Joris Vink
791aba1e82
specify example of onload
2013-05-30 21:27:13 +02:00
Joris Vink
9243f409cc
move to a worker based threading approach where we delegate http requests to workers in a round robin basis (later this should be swapped to find the laziest worker and assign the request to that instead).
2013-05-30 19:36:42 +02:00
Joris Vink
8478d8df54
add chroot and runas directives so we can chroot and drop privilegs properly
2013-05-04 22:18:27 +02:00
Joris Vink
8d67ee4c52
add dynamic handler example to our base module
2013-05-29 14:42:40 +02:00
Joris Vink
807764614b
from now on configuration files must specify a domain for the handlers that follow. This allows for easy subdomain configuration.
...
example:
domain joris.local
static / serve_index
domain .joris.local
static / serve_another_index
2013-05-02 13:30:13 +02:00
Joris Vink
3ca83c9857
add example module that can be built to test kore.
2013-05-01 16:59:13 +02:00
Joris Vink
4ecfd81e6e
allow us to pass content-type to http_response()
2013-05-01 16:51:34 +02:00
Joris Vink
d9bbb0b1f1
initial module support
2013-05-01 16:03:48 +02:00