99 Commits (e4c99e55d618716d8a3a70e13750f56a0e07046f)

Author SHA1 Message Date
Stefan Bühler 875995dae5 [config] fix bugs in new config handling 10 years ago
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)
10 years ago
Stefan Bühler 061b2a4262 [core] handle differences between options/actions/setups in plugin.c 10 years ago
Stefan Bühler 74b64a6d1a [plugin_core] log/setup log: convert to handling key-value list 10 years ago
Stefan Bühler 3c27596287 [plugin_core] index action should do less stat() calls now, especially for multiple names 10 years ago
Stefan Bühler b9d77f50a4 [core] add req_header.* actions 10 years ago
Simon Lundström 859da7d7eb [plugin_core] docroot: show stat() errors for all entries when debug log is enabled 10 years ago
Stefan Bühler 95f63fc0cf [core] add global named fetch pool; all backends have to return strings. implement a simple backend. 10 years ago
Stefan Bühler 97dbcf7e42 [core] add option to disable buffering large request bodies on disk - forward them to backend directly instead
- right now only mod_fastcgi can handle this (it won't set the CONTENT_LENGTH env var, the backend
    has to support this too)
10 years ago
Stefan Bühler f1f1aacdfe fix glib deprecation warnings 10 years ago
Stefan Bühler 72ec9a432f [throttle] rewrite 10 years ago
Stefan Bühler cfd8955008 [common] implement libev wrapper
* need a way to mark a watcher as "don't keep the loop alive"
10 years ago
Stefan Bühler ff69160c34 [core] Use streams 10 years ago
Stefan Bühler ebd5a4ecb3 Fix comment style (//) and add gnutls to automake distcheck 10 years ago
Stefan Bühler d705276183 [plugin_core] Fix closing data stream for invalid ranges in static handling 11 years ago
Stefan Bühler 5d48ae7102 [log] Add changable log contexts (i.e. references to the real one), so a pointer to such context can be used over a longer period of time 11 years ago
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 11 years ago
Stefan Bühler eaf460e3d0 [plugin_core] fix docroot pattern error handling (fixes #2362) 11 years ago
Thomas Porzelt 3f12becf59 [plugin_core] add 'map' action, which maps the result of a pattern to a user defined action 11 years ago
Thomas Porzelt cdf183137f [plugin_core] rename 'blank' action to 'respond' and allow optional integer, string or list of integer+string parameters which support patterns 12 years ago
Thomas Porzelt 496a28f197 [core] truncate temp string before evaluating pattern. add comment to pattern.h that li_eval_pattern() does not truncate the string for you 12 years ago
Stefan Bühler 9c6f894eb5 [mime-types] Fix mimetype insert, add new test cases to catch this 12 years ago
Thomas Porzelt c1fe5047be [plugin_core] Fix cascading in docroot action 13 years ago
Stefan Bühler 0ab5aee623 [throttle] Fix loop counter (leaded to segfaults) 13 years ago
Stefan Bühler 11fa781f98 Fix some warnings found with clang analyzer 13 years ago
Stefan Bühler 2941105e28 [pattern] Fix vr->wrk->tmp_str usage, remove pattern.h from base.h, add pattern support to header.add* actions 13 years ago
Stefan Bühler db6a989677 Fix some warnings 13 years ago
Stefan Bühler ab9421a5e1 [core] Provide safe wrapper for crypt if crypt_r is not available 13 years ago
Stefan Bühler 97d6300c62 [plugin_core] Support %n in all pattern evals 13 years ago
Stefan Bühler 01f0c1606f [core] Fix pattern range parser, fix docroot_nth callback 13 years ago
Stefan Bühler 52584c99bb [pattern] Add ranges (and fix match-info handling) 13 years ago
Thomas Porzelt 31d2291a1c [core] Add support for throttling by IP 13 years ago
Thomas Porzelt 14d48527af [core] Make log.timestamp creation/destruction threadsafe 13 years ago
Thomas Porzelt f088e43f62 [plugin_core] Add env.set/add/remove/clear actions 13 years ago
Thomas Porzelt a3b7ce74af [core] Rework throttle-pool handling to be thread-safe in creation/destruction aswell as more accurate and fair throttling 13 years ago
Thomas Porzelt c7a39e4da1 [core] Fix compilation on non-linux systems 13 years ago
Stefan Bühler 91fda70bca [plugin_core] Fix mixed declarations and code 13 years ago
Thomas Porzelt 582dfa99d7 [core] Rework mimetype lookup code 13 years ago
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 13 years ago
Stefan Bühler b9af60f92d [plugin_core]: don't stat last entry in docroot list, it is used anyway 13 years ago
Stefan Bühler 1c3d3c287f [core]: add tasklet pools to workers and use them for stat-cache 13 years ago
Stefan Bühler 6f454d0008 [plugin_core]: add "static_no_fail" action, which doesn't return 403/404 so other actions can handler the request 13 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 13 years ago
Thomas Porzelt e2a551298e [core] Use liCond* helpers in li_pattern_parse/eval 13 years ago
Thomas Porzelt c8663ffda9 [core] Allow disabling of stat cache through stat_cache.ttl 0; 13 years ago
Thomas Porzelt 43def72d5b [core] Fix tiny leak in docroot action 13 years ago
Thomas Porzelt 39df9263fb [plugin_core] Add support for patterns to log.write action 13 years ago
Thomas Porzelt 7409b2ef63 [plugin_core] Enable 'docroot' action to use patterns and even traverse a list of these 13 years ago
Thomas Porzelt b5009f18df [core] Fix usage of sched_setaffinity() and disable it for now as it seems to impose a little performance hit 13 years ago
Thomas Porzelt 727a480a14 [core] Remove profile_mem action from core plugin, was moved to mod_debug 13 years ago