2
0
Fork 0
Commit Graph

308 Commits (c56ade056fdd1a617bf4534a800985cf057e8279)

Author SHA1 Message Date
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 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 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
Stefan Bühler 4ef644de88 Fix cmake ipv6 detection 2008-12-09 21:30:37 +01:00
Thomas Porzelt 736d8c6192 add server.max_keep_alive_requests option 2008-12-07 21:46:29 +01:00
Thomas Porzelt d3bfcf9d15 add special chars in strings through \n \" etc. to config parser 2008-12-07 01:36:38 +01:00
Thomas Porzelt 58cf85f5d1 remove old log stuff 2008-12-02 15:58:06 +01:00
Thomas Porzelt 4e876d4153 remove unnecessary \n from VR_TRACE() in core_handle_static() 2008-12-02 00:50:30 +01:00
Thomas Porzelt 096e7667be add LIGHTTPD_REVISION define and output for -v when compiling from bzr (only waf for now) 2008-11-25 15:56:12 +01:00
Thomas Porzelt d8874eab5f removed unused vars from network_write.c 2008-11-23 22:26:23 +01:00
Thomas Porzelt be8836a57c remove old statistics code from network_write.c 2008-11-23 22:09:51 +01:00
Thomas Porzelt 7582742257 remove connection from throttle queue when resetting 2008-11-23 18:23:45 +01:00
Thomas Porzelt d5e7aa94a5 fix waitqueue 2008-11-23 18:23:05 +01:00
Thomas Porzelt 865aea2ce0 prevent double decrement of wrk->connection_load and active connections 2008-11-23 18:21:45 +01:00
Thomas Porzelt 928b8d52c1 update waf to 1.5, rewrite wscripts 2008-11-21 00:31:44 +01:00
Thomas Porzelt 304263f4a1 fix warnings from plugin_core.c 2008-11-20 16:40:36 +01:00
Thomas Porzelt 24c7423376 add temporary hack to disable sched_setaffinity when OS != linux 2008-11-20 03:17:50 +01:00
Thomas Porzelt 031b6b54c7 add check for HAVE_IPV6 to sockaddr_to_string() 2008-11-20 03:15:40 +01:00
Thomas Porzelt 2df4d9686b fix wrong parameter con instead of new vr in network.c when USE_SENDFILE not defined 2008-11-20 00:16:57 +01:00
Thomas Porzelt 0994052566 fix wrong placement of #endif in condition.c => broken code when HAVE_IPV6 not defined 2008-11-20 00:13:51 +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 1954f46a03 return NETWORK_STATUS_WAIT_FOR_AIO_EVENT instead of NETWORK_STATUS_WAIT_FOR_EVENT when throttling 2008-11-17 23:08:55 +01:00
Stefan Bühler 06225998c6 Fix typos in sendfile (again) 2008-11-17 21:50:03 +01:00
Stefan Bühler ec16ebea3c Fix typos in sendfile 2008-11-17 21:42:52 +01:00
Stefan Bühler 99733ef5a7 Add OS X sendfile implementation (and fix the freebsd one) 2008-11-17 20:54:19 +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