2
0
Fork 0
Commit Graph

35 Commits

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 7bb671de4c [config parser] fix operators 2010-08-09 00:16:13 +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
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
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
Thomas Porzelt 5892c78e7d [core] Support req. phys. and resp. abbreviations in li_cond_lvalue_from_string() and make config parser use this function instead of own code 2010-02-21 14:32:58 +01:00
Stefan Bühler e0370fac79 Fix some lua handling; add args for lua plugins/handlers 2010-02-14 15:48:25 +01:00
Thomas Porzelt fc09bf9095 [core] Don't allow spaces between integer value and its suffix, was not deterministic 2010-02-13 13:25:16 +01:00
Stefan Bühler 64c2fece96 config: add network cidr matching operators, =/ and != 2010-01-27 22:05:06 +01:00
Stefan Bühler 64ba5fddce Cleanup value pointer extractions 2010-01-24 23:00:48 +01:00
Stefan Bühler 3bc425fef1 Remove config parser code from main(), add cmake-option to disable default config parser 2009-12-13 21:35:46 +01:00
Stefan Bühler eff8ed5e50 Add request.environment[] conditional 2009-12-13 00:36:56 +01:00
Thomas Porzelt 9989cd62ce [core] Fix value statements in config parser (now using stack for operator) 2009-11-21 16:36:42 +01:00
Stefan Bühler d9228f3ef0 Add per worker lua_State 2009-11-01 15:43:12 +01: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 367404fdb1 Add "request.is_handled" condition 2009-10-03 16:47:57 +02:00
Thomas Porzelt 97e54c9ee2 [core] Add response.status and response.header conditionals to config parser 2009-09-28 21:45:57 +02:00
Stefan Bühler 55734af993 Add request.remoteip and localip for config parser 2009-09-16 08:31:23 +02:00
Stefan Bühler bf9e34bab7 Remove li_vrequest_stat and fix condition.c 2009-09-15 19:08:13 +02:00
Thomas Porzelt 13543bdcf9 [core] Allow relative paths in include statements in the config parser 2009-09-15 12:42:11 +02:00
Stefan Bühler 1aeed6c222 Execute self defined actions 2009-09-14 21:06:55 +02:00
Stefan Bühler 7f8d368f7f Allow more whitespace in config 2009-09-14 20:37:54 +02:00
Stefan Bühler 39a879f89a Add "include_lua" to config special commands if compiled with lua 2009-09-14 18:58:42 +02:00
Thomas Porzelt 0ee98620b7 [core] Fix 'include' directive in config parser 2009-08-19 14:07:23 +02:00
Thomas Porzelt 549daa97e1 [core] Use DEBUG() makro instead of g_printerr() in config parser 2009-07-26 16:54:23 +02:00
Thomas Porzelt 5b57a8c4b9 [core] Fix double free() in config_parser 2009-07-17 17:47:31 +02:00
Thomas Porzelt a312773e40 [core] Make 'include' directive in config_parser support glob()-style patterns 2009-07-17 17:32:11 +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
Stefan Bühler 540ff7db02 Split sources into subdirs 2009-07-15 11:57:52 +02:00