Commit Graph

17 Commits (876261c62c75ddfbad9226ce604c43f260df1e2f)

Author SHA1 Message Date
Stefan Bühler 876261c62c [core/angel]: Use strict ip matching (family must match, no IPv4-mapped IPv6) 12 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 12 years ago
Stefan Bühler b7e6ba4eb5 condition.c: set match_type in all cases 12 years ago
Stefan Bühler 38ec6b3c2d conditionals: Fix port matching (ntohs) 13 years ago
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 13 years ago
Stefan Bühler 3dc644cf40 Add conditionals for local and remote port (-1 for unix sockets) 13 years ago
Stefan Bühler 2f06283832 Change internal conditional checks; export functions to read value of conditional-lvalues 13 years ago
Stefan Bühler eff8ed5e50 Add request.environment[] conditional 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
Stefan Bühler 4b94e01ecc Add response.header/status conditionals 13 years ago
Stefan Bühler bf9e34bab7 Remove li_vrequest_stat and fix condition.c 13 years ago
Stefan Bühler 897b27c692 Some core docs fixed 13 years ago
Stefan Bühler f030824550 Fix server address (do not use the listen address) 13 years ago
Stefan Bühler 007e5e040c Add listen mask checks to angel 13 years ago
Stefan Bühler a061745193 Fix bugs found with the static clang analyzer (http://clang-analyzer.llvm.org/) 14 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 14 years ago
Stefan Bühler 1ce3b7fa24 Remove pcre dependencies (we use the glib wrappers) 14 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 14 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 14 years ago
Thomas Porzelt 0347a26b37 [core] Fix tiny memleak with regex conditions and remove left-over HAVE_PCRE_H check 14 years ago
Thomas Porzelt ff39991ed0 [core] Add support for regex conditionals 14 years ago
Thomas Porzelt fd8f6ed60f [core] Change cond_lvalue_form_string() and move it from utils.c to condition.c 14 years ago
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 14 years ago
Thomas Porzelt 7766bd8c34 save errno of stat() in request.physical struct to prevent repeated stat()s if failed 14 years ago
Thomas Porzelt 85a3a4d091 added "if" to condition syntax (if req.path == "/foo" {}) 14 years ago
Thomas Porzelt 01068d7f1d make docroot a function action instead of setting, add stat member to vr.physical and enable physical.size conditional 14 years ago
Stefan Bühler e8e60b3a04 Add clean ipv6+port parsing for listen() 14 years ago
Stefan Bühler e438fb58ab Fix "notequal" string comparison bug 14 years ago
Thomas Porzelt 0994052566 fix wrong placement of #endif in condition.c => broken code when HAVE_IPV6 not defined 14 years ago
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 14 years ago
Stefan Bühler 649f7baf78 Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header. 14 years ago
Stefan Bühler 566cbdb024 virtual requests; they replace a big part from connection. 14 years ago
Stefan Bühler 091f122aad Renamed option -> value, some other minor/related renames; added option_value as 14 years ago
Stefan Bühler 721cb88985 Kill some memleaks 14 years ago
Stefan Bühler ac1f66ee1d Fix pcre 14 years ago
Stefan Bühler dbc9859ce8 Use atomic refcount operations 14 years ago
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 14 years ago
Thomas Porzelt c2b8ccdec4 changed operators ^= to =^ and $= to =$; introduced clean and ./waf 15 years ago
Thomas Porzelt f795f2463a added ^= (prefix match) and $= (suffix match) operators 15 years ago
Stefan Bühler a863b6f7e9 Added url/authority parsing, enabled simple static() action. 15 years ago
Stefan Bühler 03458817cc Updated TODO hints 15 years ago
Stefan Bühler e216fc5168 handle requests now :) - still many TODOs for error handling/keep alive/validating headers 15 years ago
Stefan Bühler 2fbc7b1408 Basic connection state machine 15 years ago
Stefan Bühler ff9b6c4461 Implement ip matching for conditions. 15 years ago
Stefan Bühler aff9544b95 Parsers for ipv4/ipv6 für conditions 15 years ago
Stefan Bühler c342be6424 New condition structure, some code for lua condition support 15 years ago
Stefan Bühler 2f7359b14c changed some apis, implemented some todos, added support for lua actions/conditions. 15 years ago
Stefan Bühler 50bb61a041 Require srv for log macros, undo gint64 change for options (as it needs to fit into a pointer, and many other warnings) 15 years ago
Thomas Porzelt 781dfd07cf config_cond_t renamed to comp_operator_t 15 years ago