Commit Graph

15 Commits (79d98f59910d32c0b2c851faf6f26940e40e10c1)

Author SHA1 Message Date
Stefan Bühler 5e063e2b04 [core] Enable li_plugins_init_lua again, fixed segfault 12 years ago
Stefan Bühler c2271c15c3 Add plugin init-lua hook 13 years ago
Thomas Porzelt c0e7ef3654 [core] Fix memleak in filter_buffer_on_disk/bod_open() and free srv->optionptrs on exit 13 years ago
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker 13 years ago
Stefan Bühler 905a83fc77 Add plugin hooks for server state machine changes 13 years ago
Stefan Bühler 30ebce774e Add "state-wait" api for server state machine 13 years ago
Stefan Bühler 5284ce9cb4 Fix option handling: need another opt_base_index for pointer options 13 years ago
Stefan Bühler 2e4aba7e39 Fix options: missed setting "pointer" options 13 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 13 years ago
Stefan Bühler fe7ddede88 Add lua plugins 13 years ago
Stefan Bühler b4c3e2ba02 Add userdata to action-create, setup and plugin-init callbacks 13 years ago
Thomas Porzelt 24ef64338f [core] Add missing call to free-callback in li_server_plugins_free() 13 years ago
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 13 years ago
Stefan Bühler eeddb37e4a Add plugin angel callbacks 13 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 13 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 13 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 13 years ago
Stefan Bühler 595ce1fe13 Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con 14 years ago
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 14 years ago
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 14 years ago
Stefan Bühler 649f7baf78 Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header. 14 years ago
Thomas Porzelt 84fb6a5574 add missing call to p->free() in plugin_free 14 years ago
Thomas Porzelt 59fdb03ee0 implement loading of modules 14 years ago
Thomas Porzelt 21c391da66 ipv4 and ipv6 hashing functions 14 years ago
Thomas Porzelt f23b051c30 moved freeing of value after parsing in plugin_set_default_option(); made that function static 14 years ago
Thomas Porzelt 472e7a81a9 changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser 14 years ago
Stefan Bühler e1504a252f free value always from the calling function 14 years ago
Thomas Porzelt 480de71283 small memleak fix 14 years ago
Stefan Bühler 5d27591a49 Fix return TRUE in a void function 14 years ago
Stefan Bühler c54a085552 Implement clean default values for options 14 years ago
Stefan Bühler 091f122aad Renamed option -> value, some other minor/related renames; added option_value as 14 years ago
Stefan Bühler 721cb88985 Kill some memleaks 14 years ago
Stefan Bühler c62f8f7945 Add more atomic protection 14 years ago
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 14 years ago
Thomas Porzelt 6804b1df00 implemented default values for options 14 years ago
Thomas Porzelt 1901397a0e minor enhencements; added log.level and log.target options 14 years ago
Thomas Porzelt b1000d2ca4 config parser intial working version; test action in core plugin with more outpot 14 years ago
Stefan Bühler 066d0f5342 Added plugin callbacks for content and close handling 14 years ago
Stefan Bühler b8e3535546 Enabled options, moved some initializing 14 years ago
Thomas Porzelt 708b5fc223 small fixes; call_setup() now looks in the right hashtable 14 years ago
Stefan Bühler d45b540603 Rename action_setting stuff 14 years ago
Stefan Bühler 2f7359b14c changed some apis, implemented some todos, added support for lua actions/conditions. 14 years ago
Stefan Bühler 2537bb9d82 Add call_setup function 14 years ago
Stefan Bühler 57701f997d Added "actions" and "setups" to the plugin api 14 years ago
Stefan Bühler e44aea16ba Implement plugin registration 14 years ago
Stefan Bühler 50bb61a041 Require srv for log macros, undo gint64 change for options (as it needs to fit into a pointer, and many other warnings) 14 years ago
Stefan Bühler fccd44f2ad option/action/plugin 14 years ago