2
0
Fork 0
Commit Graph

50 Commits

Author SHA1 Message Date
Thomas Porzelt 727a480a14 [core] Remove profile_mem action from core plugin, was moved to mod_debug 2010-05-13 12:11:24 +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 46b9a28f87 Fix pathinfo; action to remove the pathinfo from the url too (for SCRIPT_NAME) 2010-05-01 11:54:25 +02:00
Thomas Porzelt 683e334599 [plugin_core] Return error 405 for methods other than GET or HEAD on static files 2010-04-04 17:07:24 +02:00
Stefan Bühler 2c4f6b29a1 Handle NULL values in plugin_core.c 2010-02-14 20:58:27 +01:00
Stefan Bühler d0f6484e7c Move sched_[gs]etaffinity to plugin_core 2010-02-13 15:54:48 +01:00
Thomas Porzelt d18045ccbf [core] Rework throttle code a bit, especially regarding pools 2010-02-13 14:30:32 +01:00
Stefan Bühler 2e131dc93f Put pathinfo debug messages into debug-request-handling 2010-02-08 17:00:44 +01:00
Thomas Porzelt 6a5411c2f1 [plugin_core] Set con->throttle.pool.queued to FALSE after unlinking from queue 2010-02-08 15:24:25 +01:00
Thomas Porzelt 1297a1fab7 [core] Fix crash in throttle pool handling 2010-02-07 22:49:54 +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 64ba5fddce Cleanup value pointer extractions 2010-01-24 23:00:48 +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 477a060821 Fix typo in previous commit 2009-11-28 11:47:40 +01:00
Thomas Porzelt cb7005bdf0 [core] Fix io.buffer_in action (was setting out buffer) 2009-11-28 11:25:57 +01:00
Stefan Bühler 8a8fb91729 Add some features to mod_dirlist, move directory-redirect to vrequest functions and use it for index files 2009-11-15 21:59:16 +01:00
Stefan Bühler 2c343ed5d8 Add pathinfo action 2009-11-11 14:55:00 +01:00
Stefan Bühler 9561a565c5 Fix alias action config parsing 2009-11-11 13:47:47 +01:00
Stefan Bühler 35ccb73638 Add alias action 2009-11-11 13:35:14 +01:00
Stefan Bühler 2060595760 Change max-keep-alive requests to 0 "unlimited" 2009-11-01 15:43:34 +01:00
Thomas Porzelt 323dcfa9dc [plugin_core] Add burst functionality to io.throttle action (io.throttle 1mbyte => 50kbyte;) 2009-10-18 20:00:09 +02:00
Stefan Bühler be6e2f4466 Fix etags (broken as "throttle" option was removed but not removed from enum) 2009-10-12 00:09:22 +02:00
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 2009-10-09 15:38:12 +02:00
Stefan Bühler e71b64f41f Add a li_const_gstring method to create fake GStrings; make some GString* parameters const 2009-10-08 14:33:47 +02:00
Stefan Bühler 4a10b6a85a Add static.exclude_extensions 2009-10-08 13:37:53 +02:00
Stefan Bühler 8b78256010 Fix bug introduced with ranged requests 2009-10-07 23:07:05 +02:00
Stefan Bühler 7830dadb45 Fix compability with older glib versions 2009-10-07 22:53:50 +02:00
Stefan Bühler dc05e13c97 Implement ranged requests for static files 2009-10-07 22:49:40 +02:00
Thomas Porzelt 82d7fd61e0 [core] Add header.remove action 2009-10-07 21:08:28 +02:00
Thomas Porzelt 99881ac874 [core] Rename several actions to make it more consistent 2009-10-07 20:53:26 +02:00
Thomas Porzelt 5e1c8a7725 [core] Fix compiler warning introduced with previous commit (not shown on osx...) 2009-10-04 17:00:19 +02:00
Thomas Porzelt eff81a92e9 [core] Don't increase refcount for module when specified multiple times in config 2009-10-04 16:58:31 +02:00
Stefan Bühler 48721307b3 Remove req/s debug output, put docroot debug in request-handling option 2009-10-02 12:13:37 +02:00
Stefan Bühler c6bd0d66b7 Fix fd leak 2009-09-17 09:54:34 +02:00
Stefan Bühler 96e505bea7 Fix server.tag and version output 2009-09-16 00:19:06 +02:00
Stefan Bühler 4f9b5ccd3e Remove plugin-core physical actions 2009-09-15 19:24:01 +02:00
Stefan Bühler 628b5734e1 Remove li_vrequest_stat and fix condition.c, part 2 2009-09-15 19:18:17 +02:00
Stefan Bühler 2304093289 Fix double slash after docroot 2009-09-15 15:31:00 +02:00
Stefan Bühler f31572bef1 Append slash to doc-root for physical path if it is missing 2009-09-14 21:45:52 +02:00
Stefan Bühler 59f4041ff3 Remove li_vrequest_stat() usage 2009-09-14 20:51:49 +02:00
Stefan Bühler a8a761946c Fix etag option, added comment so no one tries to clean it up again :) 2009-09-12 23:15:33 +02:00
Stefan Bühler b696fcbe0d Small plugin-core options cleanup 2009-09-09 21:15:12 +02:00
Stefan Bühler 959733cf82 Remove event_handler setup 2009-09-09 19:30:26 +02:00
Stefan Bühler 374ebbeff7 Fix index action: require trailing slash in uri path, append index filename to uri 2009-09-09 00:40:12 +02:00
Stefan Bühler a663088a77 Add custom server socket callbacks (for ssl modules) 2009-09-08 19:09:39 +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 a061745193 Fix bugs found with the static clang analyzer (http://clang-analyzer.llvm.org/) 2009-07-16 22:13:40 +02:00
Thomas Porzelt 952a28d176 Fix a null-pointer dereference and some other small things reported by clang analyzer 2009-07-16 12:57:11 +02:00
Stefan Bühler 540ff7db02 Split sources into subdirs 2009-07-15 11:57:52 +02:00