Commit Graph

16 Commits (d9228f3ef0660606b90e83411de587d6456c492a)

Author SHA1 Message Date
Stefan Bühler d9228f3ef0 Add per worker lua_State 13 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 13 years ago
Stefan Bühler 367404fdb1 Add "request.is_handled" condition 13 years ago
Thomas Porzelt 97e54c9ee2 [core] Add response.status and response.header conditionals to config parser 13 years ago
Stefan Bühler 55734af993 Add request.remoteip and localip for config parser 13 years ago
Stefan Bühler bf9e34bab7 Remove li_vrequest_stat and fix condition.c 13 years ago
Thomas Porzelt 13543bdcf9 [core] Allow relative paths in include statements in the config parser 13 years ago
Stefan Bühler 1aeed6c222 Execute self defined actions 13 years ago
Stefan Bühler 7f8d368f7f Allow more whitespace in config 13 years ago
Stefan Bühler 39a879f89a Add "include_lua" to config special commands if compiled with lua 13 years ago
Thomas Porzelt 0ee98620b7 [core] Fix 'include' directive in config parser 13 years ago
Thomas Porzelt 549daa97e1 [core] Use DEBUG() makro instead of g_printerr() in config parser 13 years ago
Thomas Porzelt 5b57a8c4b9 [core] Fix double free() in config_parser 13 years ago
Thomas Porzelt a312773e40 [core] Make 'include' directive in config_parser support glob()-style patterns 13 years ago
Stefan Bühler a061745193 Fix bugs found with the static clang analyzer (http://clang-analyzer.llvm.org/) 13 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 13 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 13 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 13 years ago
Thomas Porzelt 02a9e7ba26 Change string parsing in config parser 13 years ago
Thomas Porzelt ab10a5ed8f [config_parser] Change/fix escaping in strings 13 years ago
Thomas Porzelt d153b12ed2 Fix line counting for \r linebreaks in config parser 14 years ago
Thomas Porzelt 85a3a4d091 added "if" to condition syntax (if req.path == "/foo" {}) 14 years ago
Thomas Porzelt 2489fbfbfe fix small typo in config_parser.rl that prevented usaged of physical.* conditionals 14 years ago
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 14 years ago
Thomas Porzelt fa25947b7e allow anonymous blocks in config parser prefixed by $ (for now) 14 years ago
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 14 years ago
Thomas Porzelt d3bfcf9d15 add special chars in strings through \n \" etc. to config parser 14 years ago
Stefan Bühler 7a496b610b Fix comment style // -> /* */ 14 years ago
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 14 years ago
Thomas Porzelt 8161336538 add fallback static action if built-in cfg parser used 14 years ago
Thomas Porzelt 29c962fe06 add mime_types option and mimetype_get() function 14 years ago
Thomas Porzelt 472e7a81a9 changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser 14 years ago
Thomas Porzelt 5150637e13 implemented port feature for listen setup; small memleak und config parser fixes 14 years ago
Stefan Bühler e1504a252f free value always from the calling function 14 years ago
Thomas Porzelt 480de71283 small memleak fix 14 years ago
Thomas Porzelt 30bae997eb moved log cleanups to own function; fixed memleaks in config parser and plugin_core 14 years ago
Stefan Bühler 091f122aad Renamed option -> value, some other minor/related renames; added option_value as 14 years ago
Thomas Porzelt 5a1acd8be9 reworked parts of config_parser 14 years ago
Stefan Bühler e15193447d Fix cleanup of target_else in conditional action, added support for else branch in "when" action. 14 years ago
Thomas Porzelt cf51355d1c fixed else/elseif in config parser 14 years ago
Thomas Porzelt 1371d4e49f added else/elseif to config parser; uses new target_else member of action->value.condition 14 years ago
Thomas Porzelt d3547c5318 added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options 14 years ago
Thomas Porzelt c1bc3b8e0a small cleanup in config parser; small fix in log.c 14 years ago
Thomas Porzelt 1ab2d0d6b3 small change to config parser: comment now included in noise set 14 years ago
Thomas Porzelt c2b8ccdec4 changed operators ^= to =^ and $= to =$; introduced clean and ./waf 14 years ago
Thomas Porzelt f795f2463a added ^= (prefix match) and $= (suffix match) operators 14 years ago
Thomas Porzelt 89d3b204a7 added header conditional check for normal config parser 14 years ago
Thomas Porzelt 1901397a0e minor enhencements; added log.level and log.target options 14 years ago
Thomas Porzelt b1000d2ca4 config parser intial working version; test action in core plugin with more outpot 14 years ago
Thomas Porzelt 24d1f61c87 reverted changes from r70 in server.c; enhanced config parser 14 years ago