Stefan Bühler
e55f423203
[config] fix more bugs in new config handling
2013-09-09 13:10:50 +02:00
Stefan Bühler
875995dae5
[config] fix bugs in new config handling
2013-09-09 10:17:43 +02:00
Stefan Bühler
a1fbaab86b
[core/modules] refactor config handling
...
* should be more robust now: taking list of wanted value, handling NULL
pointers instead of value type NONE, fixed some bugs (wrong checks,
mem leaks, ...)
* add many methods to make handling of values easier; most methods
can handle NULL value pointers safely (li_value_type(v) instead of
v->type and so on)
2013-09-06 14:36:55 +02:00
Stefan Bühler
061b2a4262
[core] handle differences between options/actions/setups in plugin.c
2013-08-22 18:02:50 +02:00
Stefan Bühler
0d85a068c8
[lua] add per lua_State lock
2013-05-04 13:11:25 +02:00
Stefan Bühler
abdd422aa9
plugin.c: fix optionptr mem-leak
2010-09-12 17:44:00 +02:00
Stefan Bühler
5e063e2b04
[core] Enable li_plugins_init_lua again, fixed segfault
2010-06-06 12:29:25 +02:00
Stefan Bühler
c2271c15c3
Add plugin init-lua hook
2010-05-14 13:10:19 +02:00
Thomas Porzelt
c0e7ef3654
[core] Fix memleak in filter_buffer_on_disk/bod_open() and free srv->optionptrs on exit
2010-05-08 11:55:52 +02:00
Stefan Bühler
a8efcfcc0e
modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker
...
* create main_worker earlier
2010-05-07 20:54:50 +02:00
Stefan Bühler
905a83fc77
Add plugin hooks for server state machine changes
2010-02-13 15:41:09 +01:00
Stefan Bühler
30ebce774e
Add "state-wait" api for server state machine
2010-02-13 15:29:21 +01:00
Stefan Bühler
5284ce9cb4
Fix option handling: need another opt_base_index for pointer options
2010-01-27 17:38:27 +01:00
Stefan Bühler
2e4aba7e39
Fix options: missed setting "pointer" options
2010-01-27 17:15:25 +01:00
Stefan Bühler
f14103bc2c
Split options into two categories: simple (int, bool) and ref-counted pointers
2010-01-24 23:00:51 +01:00
Stefan Bühler
fe7ddede88
Add lua plugins
2009-12-21 19:09:55 +01:00
Stefan Bühler
b4c3e2ba02
Add userdata to action-create, setup and plugin-init callbacks
2009-12-21 12:29:14 +01:00
Thomas Porzelt
24ef64338f
[core] Add missing call to free-callback in li_server_plugins_free()
2009-10-04 16:38:53 +02:00
Stefan Bühler
56ff7ca32a
angel/lighty now synchronize the server state
2009-08-30 20:43:13 +02:00
Stefan Bühler
eeddb37e4a
Add plugin angel callbacks
2009-08-30 19:25:01 +02:00
Stefan Bühler
540ff7db02
Split sources into subdirs
2009-07-15 11:57:52 +02:00