2
0
Fork 0
Commit Graph

101 Commits

Author SHA1 Message Date
Stefan Bühler 6ebc331215 Implement l_g_string_assign_len() 2009-03-01 21:22:15 +01:00
Stefan Bühler 39ecfa89e5 Add chunkqueue-limit framework 2009-03-01 17:28:01 +01:00
Thomas Porzelt efab0ca75d implement stat cache 2009-03-01 21:16:58 +01:00
Stefan Bühler b033f0c194 Extended sockaddr_to_string for use in connect-failed error message in mod_fastcgi 2009-03-01 17:15:52 +01:00
Stefan Bühler 95fee3059b Add handling for environment vars in backends 2009-02-15 18:55:27 +01:00
Stefan Bühler 5c797977c6 Add stderr log support in mod_fastcgi (split lines from backend in log.c) 2009-02-03 15:25:14 +01:00
Stefan Bühler d29565a211 Split chunkiter_read into simple read() and mmap() with fallback read(); _mmap() may result in SIGBUS (e.g. truncated file) later. 2009-01-28 15:40:57 +01:00
Stefan Bühler 4a8ce0a63f Redo boolean conditionals (physical.*) as real actions. 2009-01-10 14:46:11 +01:00
Stefan Bühler 587ee27cd0 Added response parser and used it in mod_fastcgi 2009-01-10 13:30:58 +01:00
Stefan Bühler 4a5aa5361e Added/fixed chunked encoded transfer 2009-01-09 21:42:42 +01:00
Thomas Porzelt 70a495de6f fix ev_tstamp vs. time_t problems in worker_current_timestamp() 2009-01-09 21:32:49 +01:00
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 93bd5e2a6a add additional paramter format_ndx to worker_current_timestamp() 2009-01-07 20:59:51 +01:00
Thomas Porzelt 2fb007bd3d add http_version_string() to utils 2009-01-06 23:25:07 +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
Stefan Bühler d9ddd4fd3d Remove out-of-fd-handling. 2009-01-04 23:14:08 +01:00
Stefan Bühler 54fd1b08e4 Cleanup some state machine handling 2009-01-04 21:59:56 +01:00
Thomas Porzelt bf549bbe0d add check for sizeof(off_t) to MODULE_VERSION_CHECK() 2009-01-02 22:04:36 +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
Stefan Bühler 6636919623 Completed core balancer support, added a simple test balancer. 2008-12-31 02:57:27 +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 52d5978d64 export module_lookup() 2008-12-26 23:53:52 +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
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
Thomas Porzelt 736d8c6192 add server.max_keep_alive_requests option 2008-12-07 21:46:29 +01:00
Thomas Porzelt 58cf85f5d1 remove old log stuff 2008-12-02 15:58:06 +01:00
Thomas Porzelt b0def14e1f remove wrong ! from sendfile macro for linux 2008-11-23 23:47:10 +01:00
Thomas Porzelt d2381954bf removed old AIO defines from settings.h 2008-11-20 20:16:29 +01:00
Stefan Bühler 2040c059d1 Fix connection/network_write state machine 2008-11-18 11:14:57 +01:00
Stefan Bühler 7a496b610b Fix comment style // -> /* */ 2008-11-18 11:03:59 +01:00
Thomas Porzelt 6dbaaf5430 fix warnings about shadowed declarations of 'free' and 'value' in headers 2008-11-18 21:43:02 +01:00
Thomas Porzelt 4080ddcd16 cosmetic changes of 'defined x to defined(x)' in settings.h to unify usage 2008-11-18 21:36:31 +01:00
Thomas Porzelt 75ce595e5b add LIGHT_OS_XYZ macros 2008-11-18 21:12:10 +01:00
Stefan Bühler 99733ef5a7 Add OS X sendfile implementation (and fix the freebsd one) 2008-11-17 20:54:19 +01:00
Thomas Porzelt 84b7487cc4 add USE_OSX_SENDFILE macro 2008-11-17 20:24:36 +01:00
Stefan Bühler 94b4dcc764 Generic sendfile implementation (supports linux,solaris and freebsd now) 2008-11-17 20:23:16 +01:00
Stefan Bühler 91d4868ef4 Move stats and throttle to network.c 2008-11-17 19:26:41 +01:00
Stefan Bühler fae25515fa Split waitqueue from utils 2008-11-17 10:26:25 +01:00
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 2008-11-16 21:33:53 +01:00