2
0
Fork 0
Commit Graph

263 Commits (8c1b6fa3a20fdc15691be0c690d43203abf0c083)

Author SHA1 Message Date
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
Thomas Porzelt 5531e36cf4 [core] Ensure that a connection is always in the io timeout queue (if not in keep-alive) 2010-06-13 18:02:14 +02:00
Thomas Porzelt bba88e3326 [core] Fix detection of too big request http header 2010-06-12 15:16:41 +02:00
Thomas Porzelt 6060380550 [core] Small fix for keepalive handling 2010-06-12 13:42:23 +02:00
Thomas Porzelt 39df9263fb [plugin_core] Add support for patterns to log.write action 2010-06-12 12:40:10 +02:00
Thomas Porzelt 013297bc9b [core] Ignore callbacks if NULL in pattern_eval() 2010-06-12 12:37:59 +02:00
Stefan Bühler 69f4ad2b4b Don't set RLIM_INFINITY as rlim_cur for RLIMIT_NOFILE, use 4096 if rlim_cur < 4096 and rlim_max = inf 2010-06-12 11:43:12 +02:00
Thomas Porzelt 7056b879e7 [core] Fix detection of too large http request header 2010-06-10 22:37:42 +02:00
Thomas Porzelt 7409b2ef63 [plugin_core] Enable 'docroot' action to use patterns and even traverse a list of these 2010-06-07 00:02:43 +02:00
Thomas Porzelt 3668ef97ab [core] Add liPattern type and associated functions 2010-06-06 23:54:55 +02:00
Stefan Bühler 5e063e2b04 [core] Enable li_plugins_init_lua again, fixed segfault 2010-06-06 12:29:25 +02:00
Thomas Porzelt 14ed0a508b [core] Disable call to li_plugins_init_lua() for now, causes segfault due to being called in the wrong place (srv->plugins does not exist yet) 2010-05-29 19:28:20 +02:00
Thomas Porzelt b5009f18df [core] Fix usage of sched_setaffinity() and disable it for now as it seems to impose a little performance hit 2010-05-16 18:35:54 +02:00
Thomas Porzelt 91cc6e06bb [waf] Don't compile profiler.c or link libexecinfo on FreeBSD when not using --with-profiler 2010-05-16 13:45:03 +02:00
Thomas Porzelt 5646b353ea [core] Specify file permissions when creating profiler output file 2010-05-16 13:41:21 +02:00
Thomas Porzelt c8a23a947f [core] Check if profiler output file has been truncated since opening 2010-05-15 12:45:22 +02:00
Stefan Bühler e00febcd40 Fix vrequest-ref api 2010-05-14 13:12:33 +02:00
Stefan Bühler c2271c15c3 Add plugin init-lua hook 2010-05-14 13:10:19 +02:00
Stefan Bühler 4afebee1c7 Make profiler optional 2010-05-13 12:19:12 +02:00
Thomas Porzelt 727a480a14 [core] Remove profile_mem action from core plugin, was moved to mod_debug 2010-05-13 12:11:24 +02:00
Thomas Porzelt bf632326a7 [core] Update and start (if necessary) io timeout in li_worker_run() fixing first worker ignoring io.timeout from config 2010-05-10 21:47:57 +02:00
Thomas Porzelt de3515cd27 [waf] Add check for and link against libexecinfo on FreeBSD 2010-05-09 15:08:31 +02:00
Thomas Porzelt f285ad372e [core,waf,autoconf,cmake] Add check for execinfo.h and disable stacktraces in profiler if not available 2010-05-09 14:18:52 +02:00