89 Commits (a937bd437a91ecf6b4805b57efe93307ecf65d49)

Author SHA1 Message Date
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
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
13 years ago
Stefan Bühler 46b9a28f87 Fix pathinfo; action to remove the pathinfo from the url too (for SCRIPT_NAME) 13 years ago
Thomas Porzelt 683e334599 [plugin_core] Return error 405 for methods other than GET or HEAD on static files 13 years ago
Stefan Bühler 2c4f6b29a1 Handle NULL values in plugin_core.c 13 years ago
Stefan Bühler d0f6484e7c Move sched_[gs]etaffinity to plugin_core 13 years ago
Thomas Porzelt d18045ccbf [core] Rework throttle code a bit, especially regarding pools 13 years ago
Stefan Bühler 2e131dc93f Put pathinfo debug messages into debug-request-handling 13 years ago
Thomas Porzelt 6a5411c2f1 [plugin_core] Set con->throttle.pool.queued to FALSE after unlinking from queue 13 years ago
Thomas Porzelt 1297a1fab7 [core] Fix crash in throttle pool handling 13 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 13 years ago