2
0
Fork 0
Commit Graph

25 Commits

Author SHA1 Message Date
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