2
0
Fork 0
Commit Graph

379 Commits (7766bd8c347668143f2e3d37b6484fd7707deaf8)

Author SHA1 Message Date
Thomas Porzelt 7766bd8c34 save errno of stat() in request.physical struct to prevent repeated stat()s if failed 2009-01-08 00:26:30 +01:00
Thomas Porzelt 688c2b6204 add %t format specifier to mod_accesslog (no %{format}t support yet) 2009-01-07 23:37:15 +01:00
Thomas Porzelt 549f097ea1 fix worker_current_timestamp() caching 2009-01-07 23:36:17 +01:00
Thomas Porzelt fe90de88be implement %b (bytes response), %B (bytes response clf) and %X (connection status) in mod_accesslog 2009-01-07 21:50:07 +01:00
Thomas Porzelt 6f69d58fec forgot g_array_set_size() after g_array_sized_new()... duh! 2009-01-07 21:26:55 +01:00
Thomas Porzelt 52bcd62d74 fix small leaks 2009-01-07 21:11:06 +01:00
Thomas Porzelt 93bd5e2a6a add additional paramter format_ndx to worker_current_timestamp() 2009-01-07 20:59:51 +01:00
Thomas Porzelt c6d422e5c1 add log.write function action to core plugin 2009-01-07 00:01:20 +01:00
Thomas Porzelt eb794b1dbc fix %v placeholder in mod_accesslog 2009-01-06 23:44:39 +01:00
Thomas Porzelt 4c49705c16 add missing http version to %r placeholder in mod_accesslog 2009-01-06 23:25:15 +01:00
Thomas Porzelt 2fb007bd3d add http_version_string() to utils 2009-01-06 23:25:07 +01:00
Thomas Porzelt 3d058707b1 add mod_accesslog 2009-01-06 22:31:20 +01:00
Thomas Porzelt d2cadb3b1e add option server.name 2009-01-06 22:30:38 +01:00
Thomas Porzelt 85a3a4d091 added "if" to condition syntax (if req.path == "/foo" {})
added boolean conditions without operator or rvalue (if phys.is_dir {}, rvalue is always true)
added negated boolean conditions (if !phys.is_dir {}, rvalue is always false)
added physical.is_dir and .is_file conditionals
2009-01-06 01:33:20 +01:00
Thomas Porzelt 01068d7f1d make docroot a function action instead of setting, add stat member to vr.physical and enable physical.size conditional 2009-01-05 22:24:54 +01:00
Thomas Porzelt 2489fbfbfe fix small typo in config_parser.rl that prevented usaged of physical.* conditionals 2009-01-05 22:14:47 +01:00
Stefan Bühler d9ddd4fd3d Remove out-of-fd-handling. 2009-01-04 23:14:08 +01:00
Stefan Bühler 5feea39ae6 Remove '-Wmissing-prototypes' from extra warnings list
- we still have '-Wmissing-declarations', which allows
   void func() instead of void func(void).
2009-01-04 22:38:24 +01:00
Stefan Bühler 54fd1b08e4 Cleanup some state machine handling 2009-01-04 21:59:56 +01:00
Thomas Porzelt 825b809b06 fix compile flags for modules in wscript 2009-01-02 22:07:52 +01:00
Thomas Porzelt bf549bbe0d add check for sizeof(off_t) to MODULE_VERSION_CHECK() 2009-01-02 22:04:36 +01:00
Thomas Porzelt 55dd7e3060 add environment.c, mod_fastcgi and --extra-warnings to wscript 2009-01-01 17:47:23 +01:00
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 2009-01-01 16:44:42 +01:00
Stefan Bühler c56ade056f Add vrequest "environment" (a GString -> GString hashtable) 2008-12-31 16:23:00 +01:00
Stefan Bühler d30e1b018a Added some backend/balancer helper, fixed backend-error handling. 2008-12-31 14:36:24 +01:00
Thomas Porzelt 0d56b1b7b4 add mod_balancer to wscript 2008-12-31 03:25:54 +01:00
Stefan Bühler 6636919623 Completed core balancer support, added a simple test balancer. 2008-12-31 02:57:27 +01:00
Thomas Porzelt fa25947b7e allow anonymous blocks in config parser prefixed by $ (for now) 2008-12-31 02:54:42 +01:00
Thomas Porzelt 66f7e669dd add log level "backend" 2008-12-31 02:50:32 +01:00
Stefan Bühler 025f0b5f84 Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs 2008-12-30 21:55:00 +01:00
Stefan Bühler 20c3d8c109 Remove unused struct members 2008-12-30 20:53:58 +01:00
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 2008-12-30 14:24:33 +01:00
Stefan Bühler c24704dad5 Move options from connection to vrequest 2008-12-30 01:21:03 +01:00
Thomas Porzelt e344591265 unify level info placement in log makros 2008-12-29 18:46:51 +01:00
Thomas Porzelt 5f9d9c12a3 remove old, now invalid free in core_list() 2008-12-29 17:02:14 +01:00
Thomas Porzelt 52d5978d64 export module_lookup() 2008-12-26 23:53:52 +01:00
Thomas Porzelt 23a246a788 add angel.c and angel_fake.c to wscript 2008-12-26 19:52:14 +01:00
Stefan Bühler eae5ca994e Enforce IPV6_V6ONLY for ipv6 sockets 2008-12-22 23:06:23 +01:00
Stefan Bühler e8e60b3a04 Add clean ipv6+port parsing for listen() 2008-12-22 22:48:47 +01:00
Stefan Bühler bb59776ea3 Handle errno in angel_fake_log 2008-12-22 17:03:43 +01:00
Stefan Bühler 324224fe2e Implemented two angel "fake" functions 2008-12-20 16:25:02 +01:00
Stefan Bühler 9d2b053659 [lua config] Add support for "." separated actions/setups 2008-12-11 01:39:25 +01:00
Stefan Bühler 2e830e5517 [cmake] Add support for plugins 2008-12-11 01:39:10 +01:00
Thomas Porzelt 3ffa1c40bb fix mod_status handling of error case 2008-12-10 21:14:50 +01:00
Thomas Porzelt fa52e5361b move vrequest_reset() up in connection_reset() so options and addr are still valid when invoking action context cleanup callbacks 2008-12-10 21:13:08 +01:00
Thomas Porzelt 52c3c2e042 update mod_fortune and mod_status for new action context 2008-12-10 17:33:36 +01:00
Thomas Porzelt 20e0a9e4e8 add http_method_string() to utils 2008-12-10 16:36:38 +01:00
Stefan Bühler 4a02223f7c Added per-action context 2008-12-10 00:23:27 +01:00
Stefan Bühler f74d274589 Add other compare operators to lua frontend 2008-12-09 22:38:55 +01:00
Stefan Bühler e438fb58ab Fix "notequal" string comparison bug 2008-12-09 22:38:37 +01:00