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 |
Stefan Bühler
|
64ba5fddce
|
Cleanup value pointer extractions
|
13 years ago |
Stefan Bühler
|
b4c3e2ba02
|
Add userdata to action-create, setup and plugin-init callbacks
|
13 years ago |
Thomas Porzelt
|
477a060821
|
Fix typo in previous commit
|
14 years ago |
Thomas Porzelt
|
cb7005bdf0
|
[core] Fix io.buffer_in action (was setting out buffer)
|
14 years ago |
Stefan Bühler
|
8a8fb91729
|
Add some features to mod_dirlist, move directory-redirect to vrequest functions and use it for index files
|
14 years ago |
Stefan Bühler
|
2c343ed5d8
|
Add pathinfo action
|
14 years ago |
Stefan Bühler
|
9561a565c5
|
Fix alias action config parsing
|
14 years ago |
Stefan Bühler
|
35ccb73638
|
Add alias action
|
14 years ago |
Stefan Bühler
|
2060595760
|
Change max-keep-alive requests to 0 "unlimited"
|
14 years ago |
Thomas Porzelt
|
323dcfa9dc
|
[plugin_core] Add burst functionality to io.throttle action (io.throttle 1mbyte => 50kbyte;)
|
14 years ago |
Stefan Bühler
|
be6e2f4466
|
Fix etags (broken as "throttle" option was removed but not removed from enum)
|
14 years ago |
Stefan Bühler
|
a151eeac2f
|
Prefix li_ cleanup, verified with nm -g --defined-only
|
14 years ago |
Stefan Bühler
|
e71b64f41f
|
Add a li_const_gstring method to create fake GStrings; make some GString* parameters const
|
14 years ago |
Stefan Bühler
|
4a10b6a85a
|
Add static.exclude_extensions
|
14 years ago |
Stefan Bühler
|
8b78256010
|
Fix bug introduced with ranged requests
|
14 years ago |
Stefan Bühler
|
7830dadb45
|
Fix compability with older glib versions
|
14 years ago |