Joris Vink
61b937ac1b
remove unused vars
2013-05-04 16:38:40 +02:00
Joris Vink
088d877715
switch dynamic handlers to regex based patterns, much easier.
2013-05-29 14:29:46 +02:00
Joris Vink
2290d09d3b
Add dynamic handles, which can be used to partially match a URI and still call a cb handler. This is especially usefull when considering the handlers as a ruleset:
...
static / serve_index
static /foo serve_foo
dynamic / serve_other
/ will be matched to serve_index, while /foo will be matched to serve_foo and /bar will be matched to serve_other for example.
2013-05-29 13:33:32 +02:00
Joris Vink
90588913d4
allow sending SIGHUP to kore, which will then reload its content module
2013-05-03 00:04:06 +02:00
Joris Vink
f61bbe8ff4
move buf stuff back into kore.h, wont need it separately
2013-05-02 15:14:00 +02:00
Joris Vink
84428f7133
move buf stuff into its own header, so we can use it in spdy.h
2013-05-02 14:55:57 +02:00
Joris Vink
07f2f83def
make sure we do not dereference p if its NULL
2013-05-02 13:47:53 +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
fa1a3099c1
better error msg
2013-05-01 17:16:09 +02:00
Joris Vink
a39040ba9b
build kore as -rdynamic so we can properly load modules.
...
implement kore_module_handler_find().
2013-05-01 16:11:10 +02:00
Joris Vink
d9bbb0b1f1
initial module support
2013-05-01 16:03:48 +02:00