2
0
Fork 0
Commit Graph

285 Commits (14d48527afbf1574cbc38ea0ee22c068fe942a53)

Author SHA1 Message Date
Thomas Porzelt 14d48527af [core] Make log.timestamp creation/destruction threadsafe 2010-09-19 18:00:31 +02:00
Thomas Porzelt d0ae21c7b2 [config parser] Rename var.PID/var.CWD/env.* to sys.pid/sys.cwd/sys.env.* and add sys.version containing the lighty version 2010-09-19 13:12:02 +02:00
Thomas Porzelt 587c7383ba [core] Add support for req.env/header[key] to patterns 2010-09-18 14:47:11 +02:00
Thomas Porzelt f088e43f62 [plugin_core] Add env.set/add/remove/clear actions 2010-09-18 13:14:28 +02:00
Thomas Porzelt a3b7ce74af [core] Rework throttle-pool handling to be thread-safe in creation/destruction aswell as more accurate and fair throttling 2010-09-12 18:54:57 +02:00
Stefan Bühler abdd422aa9 plugin.c: fix optionptr mem-leak 2010-09-12 17:44:00 +02:00
Stefan Bühler b29c8161f1 Fix mimetypes 2010-09-12 15:55:45 +02:00
Stefan Bühler be65208143 waitqueue: modify callback 2010-09-12 14:19:25 +02:00
Thomas Porzelt c7a39e4da1 [core] Fix compilation on non-linux systems 2010-09-11 11:34:06 +02:00
Thomas Porzelt 0eaed50c1c [core] Use uintptr_t instead of guintptr as it requires an otherwise unneeded recent glib version 2010-09-11 11:28:21 +02:00
Stefan Bühler 9ba3395241 Fix C++ style comments 2010-09-05 14:19:44 +02:00
Stefan Bühler 91fda70bca [plugin_core] Fix mixed declarations and code 2010-09-05 14:19:43 +02:00
Stefan Bühler 7d938e48e3 [log] Fix prepare handler 2010-09-05 14:19:27 +02:00
Stefan Bühler 79d98f5991 [core] Use liJobQueue for vrequest job queue 2010-09-05 13:39:30 +02:00
Thomas Porzelt 582dfa99d7 [core] Rework mimetype lookup code 2010-09-04 14:50:35 +02:00
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 2010-08-29 12:24:30 +02:00
Stefan Bühler b9af60f92d [plugin_core]: don't stat last entry in docroot list, it is used anyway 2010-08-26 13:52:02 +02:00
Stefan Bühler d133b8ad8c [lua]: add subrequst_lua.c 2010-08-26 09:00:50 +02:00
Stefan Bühler 77ad119f66 [lua]: add subrequests 2010-08-26 00:34:28 +02:00
Stefan Bühler 1c3d3c287f [core]: add tasklet pools to workers and use them for stat-cache 2010-08-25 18:05:23 +02:00
Stefan Bühler 6f454d0008 [plugin_core]: add "static_no_fail" action, which doesn't return 403/404 so other actions can handler the request 2010-08-24 21:48:56 +02:00
Stefan Bühler c3164aba8b Move binary names: angel becomes lighttpd2, worker lighttpd2-worker 2010-08-24 21:05:17 +02:00
Stefan Bühler b8a0921265 Add some missing LI_/li prefixes for types and enum values 2010-08-19 17:24:07 +02:00
Stefan Bühler b87e74d151 Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events 2010-08-11 13:27:27 +02:00
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 2010-08-11 13:27:27 +02:00
Stefan Bühler cae0c15710 Optimize some string handling in chunk parser 2010-08-11 13:07:33 +02:00
Stefan Bühler 254ba2a1f6 Optimize header insertion 2010-08-11 13:07:29 +02:00
Stefan Bühler cc0044c4ee Fix http method parser, add inlined g_string_append_len 2010-08-11 12:56:08 +02:00
Stefan Bühler a2ed50dedd Optimize some socket initialization handling 2010-08-11 12:56:01 +02:00
Stefan Bühler 7bb671de4c [config parser] fix operators 2010-08-09 00:16:13 +02:00
Stefan Bühler b7e6ba4eb5 condition.c: set match_type in all cases 2010-08-08 23:54:08 +02:00
Stefan Bühler 8b17198eb6 Try to fix some bugs in the config parser 2010-08-08 23:36:20 +02:00
Thomas Porzelt 2885c88ae7 [core] Config parser: one more fix for condition parsing 2010-08-08 21:53:21 +02:00
Thomas Porzelt 5b9cc67ad5 [core] Config parser: fix a whitespace handling bug 2010-08-08 14:21:36 +02:00
Thomas Porzelt 7648ef0f40 [core] Config parser: Fix parsing rules for multiple else-if conditions 2010-08-08 01:05:46 +02:00
Thomas Porzelt 45d9fda41e [core] Config parser: fix condition with key handling 2010-08-08 00:27:01 +02:00
Stefan Bühler 18fd43840c [mod_balancer] fix typo, and fix balancer handling in action-stack 2010-08-07 19:32:11 +02:00
Stefan Bühler dd0bee3fd6 action_stack: fix balanacer management 2010-08-07 18:45:21 +02:00
Thomas Porzelt ab94d8390d [core] Change *bit integer suffixes in config parser 2010-08-04 22:04:00 +02:00
Thomas Porzelt 5f655d3b6e [core] Fix 'else if' handling in config parser 2010-08-04 21:19:32 +02:00
Thomas Porzelt 65a3d5dfa9 [core] Add support for 'and' and 'or' in conditions to the config parser 2010-08-03 22:03:14 +02:00
Thomas Porzelt e2a551298e [core] Use liCond* helpers in li_pattern_parse/eval 2010-07-24 14:51:44 +02:00
Thomas Porzelt c8663ffda9 [core] Allow disabling of stat cache through stat_cache.ttl 0; 2010-07-18 13:53:07 +02:00
Stefan Bühler c23509424d pattern: check for NULL in li_pattern_free 2010-07-17 15:23:42 +02:00
Thomas Porzelt a4b0f4a9c0 [core] Fix segfault in li_vrequest_reset() when default value is NULL 2010-07-11 23:53:59 +02:00
Thomas Porzelt 43def72d5b [core] Fix tiny leak in docroot action 2010-07-11 23:53:01 +02:00
Thomas Porzelt a5f6e08abd [core] Fix for last commit: undefined flag with older libev headers so have to use makros 2010-07-11 21:07:09 +02:00
Thomas Porzelt 396f740e77 [core] Use EVFLAG_NOSIGFD to disable signalfd usage if libev 3.8 is used, it breaks signal handling 2010-07-11 20:52:01 +02:00
Thomas Porzelt e2faced3dd [core] Fix worker timestamp cache initialization resulting in segfault when a module adds a new formatter (e.g. mod_accesslog) 2010-06-30 09:56:13 +02:00
Thomas Porzelt 0b860b2a0c [core] Ensure a connection is put into io timeout queue after keepalive] 2010-06-14 20:34:58 +02:00