2
0
Fork 0
Commit Graph

388 Commits

Author SHA1 Message Date
Stefan Bühler 126feee4fd [mod_auth]: Reload password file after changes, added ttl parameter 2010-09-12 13:46:43 +02:00
Stefan Bühler 2d57e56bdc Add lua default path for distributed core lua scripts 2010-09-07 20:24:26 +02:00
Stefan Bühler 9ba3395241 Fix C++ style comments 2010-09-05 14:19:44 +02:00
Stefan Bühler 79d98f5991 [core] Use liJobQueue for vrequest job queue 2010-09-05 13:39:30 +02:00
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 2010-08-29 12:24:30 +02:00
Stefan Bühler 0047fe22fa radix: fix li_radixtree_new prototype 2010-08-23 16:53:03 +02:00
Stefan Bühler b8a0921265 Add some missing LI_/li prefixes for types and enum values 2010-08-19 17:24:07 +02:00
Stefan Bühler 7976cf53cf [mod_proxy] Add X-Forwarded-{For,Proto} headers, handle 1xx responses 2010-08-19 17:17:29 +02:00
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 2010-08-11 13:27:27 +02:00
Stefan Bühler cc0044c4ee Fix http method parser, add inlined g_string_append_len 2010-08-11 12:56:08 +02:00
Stefan Bühler 0325d10f4a [mod_balancer] fix comments 2010-08-11 12:55:55 +02:00
Stefan Bühler ec3fa8251f [mod_fastcgi] stop spamming logfile with repeated error 2010-08-10 15:37:07 +02:00
Stefan Bühler 3b202faf01 Implement backlog for balancer 2010-08-10 15:31:23 +02:00
Stefan Bühler 18fd43840c [mod_balancer] fix typo, and fix balancer handling in action-stack 2010-08-07 19:32:11 +02:00
Stefan Bühler 20fc288481 [mod_balancer] Implement RoundRobin and SQF 2010-08-07 19:16:39 +02:00
Thomas Porzelt b11c98d4cf [mod_status] Fix memory usage display on runtime info page 2010-07-31 21:24:31 +02:00
Thomas Porzelt de02a475c3 [mod_status] Show memory usage instead of hostname 2010-07-31 17:48:10 +02:00
Stefan Bühler 2045be0729 mod_auth: fixing previous commit 2010-07-29 13:32:34 +02:00
Stefan Bühler 72addaeec3 mod_auth: ignore already handled requests 2010-07-29 13:30:18 +02:00
Stefan Bühler 06c7dfd3b9 mod_limit: Include radix.h 2010-07-26 15:15:32 +02:00
Thomas Porzelt 2d2bb12e3d [modules] Add mod_limit 2010-07-25 12:37:37 +02:00
Thomas Porzelt e2a551298e [core] Use liCond* helpers in li_pattern_parse/eval 2010-07-24 14:51:44 +02:00
Stefan Bühler fa3c81bd11 [mod_memcached]: less log spam, fix another endless loop 2010-07-18 21:45:19 +02:00
Stefan Bühler 831cca1c59 [mod_memcached]: try to fail quietly after connection resets until the next connect 2010-07-18 21:35:55 +02:00
Stefan Bühler 0e4291d5dd [mod_memcached]: fix some debug messages 2010-07-18 18:22:33 +02:00
Stefan Bühler cbb9165eb0 [mod_memcached]: set default ttl to 30 seconds 2010-07-18 11:15:19 +02:00
Stefan Bühler d5bc446ebe [mod_memcached]: implement refcount handling for memcache_ctx 2010-07-18 11:15:19 +02:00
Thomas Porzelt 23e6b0d685 [waf] Make lua optional with mod_memcached 2010-07-18 10:18:38 +02:00
Stefan Bühler 8406d0e341 [waf]: compile/link mod_memcached against lua if available 2010-07-18 09:42:07 +02:00
Stefan Bühler ca315bee89 [mod_memcached]: Implement memcached.store 2010-07-17 22:41:21 +02:00
Stefan Bühler c0128fea48 [mod_memcached] Initial mod_memcached 2010-07-17 15:23:54 +02:00
Thomas Porzelt be64c8c445 [mod_debug] Add some more info to connection struct dump 2010-06-13 21:56:08 +02:00
Thomas Porzelt fa63e180e9 [mod_status] Prefix key names for status codes in plain format 2010-06-12 16:42:31 +02:00
Thomas Porzelt 5f310af7c0 [mod_status] Print response status codes summary when plain format requested 2010-06-12 16:18:52 +02:00
Thomas Porzelt 000bb1a2e1 [mod_status] Fix display of io timeout 2010-06-12 15:28:35 +02:00
Thomas Porzelt c4ba2608fa [mod_status] Show time remaining in timeout column and show keepalive timeout if in keepalive state 2010-06-12 13:44:12 +02:00
Thomas Porzelt 031b4d17e4 [mod_vhost] Mark vhost.simple and vhost.pattern as deprecated in favor of 'docroot' 2010-06-07 00:03:42 +02:00
Stefan Bühler 7174ca4d15 [mod_deflate] Fix bzip2 encoding 2010-06-06 14:09:55 +02:00
Thomas Porzelt d8c187453a [mod_debug] Don't compile debug.profiler_dump action at all when profiler support missing 2010-05-15 12:46:41 +02:00
Stefan Bühler 4afebee1c7 Make profiler optional 2010-05-13 12:19:12 +02:00
Thomas Porzelt aaaf75a9da [mod_debug] Add debug.profiler_dump action 2010-05-12 21:56:32 +02:00
Stefan Bühler 658b9d0131 Fix unitialized var in mod_deflate 2010-05-07 21:23:46 +02:00
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker
* create main_worker earlier
2010-05-07 20:54:50 +02:00
Thomas Porzelt 67e940676d [mod_userdir] Reorder includes to kill compiler warning 2010-04-25 16:47:44 +02:00
Thomas Porzelt 681b2f2bc9 [mod_userdir] Append username if pattern does not include placeholder for it. Also ensure slashes in certain places 2010-04-18 20:54:15 +02:00
Thomas Porzelt f528fc9851 [mod_userdir] Removed debug prints 2010-04-17 15:45:32 +02:00
Thomas Porzelt 852ff8ecf6 [modules] Add mod_userdir 2010-04-17 15:44:39 +02:00
Thomas Porzelt c72ee99ad7 [modules] Add mod_flv 2010-04-11 23:16:25 +02:00
source@lighttpd.net 4ef800e871 Use HTTP/1.0 in mod_proxy for now, don't forward (Proxy-)?Connection headers 2010-04-07 14:57:34 +02:00
Thomas Porzelt 6c2da09814 [mod_progress] Fix 'sent' output, progress.show parameter parsing and send application/x-javascript Content-Type header 2010-04-05 14:27:14 +02:00
Thomas Porzelt 2e710f4241 [mod_progress] Fix detection of finished requests 2010-04-05 00:26:10 +02:00
Thomas Porzelt 0c751ba6ef [mod_progress] Fix JSON format (double quotes instead of single quotes...), fix wrong default recognized http method (GET instead of POST) and a minor compile warning 2010-04-04 22:51:27 +02:00
Thomas Porzelt 9b0db666c5 [modules] Add mod_progress 2010-04-04 22:04:14 +02:00
Thomas Porzelt 8186b62dfe [mod_rewrite,mod_redirect] Refactor code a bit to silence clang code analyzer 2010-03-22 20:58:12 +01:00
Stefan Bühler 7cd62d7a54 mod_openssl: Fix check of return value from SSL_CTX_set_options 2010-03-07 13:25:51 +01:00
Stefan Bühler b127da0a85 [mod_auth]: fix doc 2010-02-21 14:31:14 +01:00
Stefan Bühler 5a654a0b7c mod_lua: fix prepare handling 2010-02-14 20:58:27 +01:00
Thomas Porzelt 5616992ca0 [mod_status] Add statistics for HTTP status codes 2010-02-14 19:59:44 +01:00
Stefan Bühler e0370fac79 Fix some lua handling; add args for lua plugins/handlers 2010-02-14 15:48:25 +01:00
Stefan Bühler 0a46134334 Fix buffer refcount; segfault/abort in mod_openssl 2010-02-13 22:29:27 +01:00
Stefan Bühler dcd7209a42 [mod_lua] Use handle_prepare to create per-worker context 2010-02-13 16:36:39 +01:00
Stefan Bühler 8f317d1ded [mod_deflate]: don't deflate after transfer-encoding 2010-02-13 16:03:03 +01:00
Stefan Bühler 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location 2010-02-10 22:25:48 +01:00
Stefan Bühler 13611b5243 Improve balancer handling 2010-02-09 22:37:28 +01:00
Stefan Bühler 33b89d8981 Fix mod_proxy (missing \r\n after request line) 2010-02-08 17:00:44 +01:00
Stefan Bühler 750bd453a2 Append to previous buffer in network reads 2010-02-02 00:34:34 +01:00
Stefan Bühler 954778ff71 Show timeout in mod_status for connections 2010-01-30 23:53:55 +01:00
Stefan Bühler fd72f61f68 Update mod_lua docs 2010-01-30 23:49:51 +01:00
Stefan Bühler d70784abd2 Fix mod_status options 2010-01-27 22:18:35 +01:00
Stefan Bühler 5284ce9cb4 Fix option handling: need another opt_base_index for pointer options 2010-01-27 17:38:27 +01:00
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 2010-01-24 23:00:51 +01:00
Stefan Bühler 64ba5fddce Cleanup value pointer extractions 2010-01-24 23:00:48 +01:00
Thomas Porzelt 7e44920c50 [mod_vhost] Fix vhost.simple, it checked the physical path instead of docroot 2010-01-21 14:44:36 +01:00
Stefan Bühler edd74a0e3c Rename lighttpd to lighttpd2 2010-01-03 19:53:48 +01:00
Stefan Bühler 7768470b10 mod_lua: fix small memleak (free conf->filename) 2010-01-03 19:51:18 +01:00
Thomas Porzelt 15767d97c0 [mod_accesslog] Use li_string_append_int() instead of g_string_append_printf() 2010-01-03 17:54:22 +01:00
Thomas Porzelt 8e3130ecff [mod_accesslog] Implement %D (duration in microseconds) and %T (duration in seconds) format specifiers 2010-01-03 17:49:35 +01:00
Thomas Porzelt 8716087728 [core] Rename con->ts to con->ts_started 2010-01-03 17:26:07 +01:00
Stefan Bühler 4fd27aca81 autotools: Fix linking 2009-12-25 22:38:52 +01:00
Stefan Bühler 63eadd22fa Fix buildsystems 2009-12-21 21:07:27 +01:00
Stefan Bühler fe7ddede88 Add lua plugins 2009-12-21 19:09:55 +01:00
Stefan Bühler b4c3e2ba02 Add userdata to action-create, setup and plugin-init callbacks 2009-12-21 12:29:14 +01:00
Stefan Bühler e92a6e8865 mod_auth: fix is_handled check 2009-12-19 18:23:47 +01:00
Stefan Bühler 130a40e691 mod_auth: Add auth.deny; for user restriction, always send WWW-Authenticate header (this makes the implementation of auth.deny trivial) 2009-12-19 17:42:55 +01:00
Stefan Bühler 931e8fea0c Make radix tree generic (length independent), use it for mod_access ipv4/ipv6 2009-12-14 14:29:59 +01:00
Stefan Bühler fdf881311d mod_dirlist: use html transitinal instead of xhtml, add javascript sort 2009-12-07 15:40:41 +01:00
Stefan Bühler d55aab7652 mod_auth: add some details to docs 2009-11-22 15:01:24 +01:00
Thomas Porzelt cfa365d275 [mod_auth] Remove auth.htdigest and auth.htpasswd from todo, they are implemented 2009-11-21 21:46:43 +01:00
Stefan Bühler 3da212d8aa mod_dirlist: Fix encode-readme for README.txt 2009-11-21 13:42:23 +01:00
Stefan Bühler 8667b1a1d7 mod_dirlist: Update TODO 2009-11-18 21:34:57 +01:00
Stefan Bühler 577ab12a13 Fix dirlist encode-* defaults 2009-11-15 22:08:04 +01:00
Stefan Bühler 8a8fb91729 Add some features to mod_dirlist, move directory-redirect to vrequest functions and use it for index files 2009-11-15 21:59:16 +01:00
Stefan Bühler dbfad84946 Add fastcgi logging for failed response header parsing 2009-11-11 15:06:09 +01:00
Thomas Porzelt d1095e5943 [mod_status] Add output for peak values 2009-11-07 15:42:29 +01:00
Thomas Porzelt 5ca4cd5eeb [waf] Add lua to uselib for mod_lua 2009-11-03 13:25:30 +01:00
Stefan Bühler d86a5255e4 Add mod_lua 2009-11-01 17:23:21 +01:00
Stefan Bühler 2060595760 Change max-keep-alive requests to 0 "unlimited" 2009-11-01 15:43:34 +01:00
Stefan Bühler 680d3fcec5 mod_deflate: add some options 2009-10-19 19:00:11 +02:00
Stefan Bühler 17c3512f22 Add mod_proxy 2009-10-19 18:59:49 +02:00
Stefan Bühler e2eb4f774d Added mod_scgi 2009-10-18 17:41:06 +02:00
Thomas Porzelt 77068a9f59 [mod_accesslog] Fix %v format specifier 2009-10-18 17:28:41 +02:00
Stefan Bühler b409fd88a0 mod_status: update doc text 2009-10-18 15:14:37 +02:00
Thomas Porzelt 859ee3baec [mod_accesslog] Implement %e, %p and %u format specifiers 2009-10-18 15:06:20 +02:00
Stefan Bühler 6c31517073 mod_auth: set environment vars REMOTE_USER and AUTH_TYPE 2009-10-18 00:08:25 +02:00
Thomas Porzelt 22d5b62336 [mod_accesslog] Fix escaping of quotes and backslashes 2009-10-16 18:34:22 +02:00
Stefan Bühler 114451639a mod_auth: fix memleak 2009-10-14 19:36:59 +02:00
Stefan Bühler 0cb1a1fbfa mod_openssl: fix memleak 2009-10-11 22:58:48 +02:00
Thomas Porzelt 9db95a5fa9 [mod_status] Fix memory leaks with format=plain 2009-10-11 22:30:52 +02:00
Thomas Porzelt 2e8051707b [mod_status] Fix possible double collect_start() 2009-10-11 21:09:47 +02:00
Thomas Porzelt 4e28109716 [mod_status] Fix runtime info page 2009-10-10 20:25:10 +02:00
Stefan Bühler 0fe57dc215 mod_auth: add htdigest and htpasswd (no apr-md5) backend 2009-10-10 19:27:42 +02:00
Thomas Porzelt 419414df8c [mod_vhost] Fix m notation in vhost.pattern 2009-10-10 11:17:24 +02:00
Thomas Porzelt 97d3b9e82f [mod_status] Add format=plain querystring parameter 2009-10-09 19:59:44 +02:00
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 2009-10-09 15:38:12 +02:00
Stefan Bühler e71b64f41f Add a li_const_gstring method to create fake GStrings; make some GString* parameters const 2009-10-08 14:33:47 +02:00
Thomas Porzelt ebde532776 [mod_status] Fix mixed up numbers introduced in previous commit 2009-10-07 18:13:56 +02:00
Thomas Porzelt 3e88dd951d [mod_status] Make connection state sums prettier 2009-10-07 18:06:01 +02:00
Stefan Bühler 10e6f0f1a7 mod_status: announce utf-8 encoding 2009-10-07 16:01:49 +02:00
Stefan Bühler e4e16c7da9 mod_status: fix rlimit handling 2009-10-07 16:01:32 +02:00
Stefan Bühler 13904f9aa8 Fix mod_accesslog vr_close handling 2009-10-07 13:10:26 +02:00
Stefan Bühler 90447c6cec Some fixes for HEAD and 206 Partial Content handling 2009-10-07 12:36:52 +02:00
Thomas Porzelt 4540232e78 [mod_status] Print connection state totals instead of scoreboard 2009-10-06 14:18:06 +02:00
Stefan Bühler 7568b9c937 mod_fastcgi: add socket address to all log outputs 2009-10-05 20:26:48 +02:00
Thomas Porzelt 70e1bd247d [mod_status] Add info about fd and coresize limits to runtime page 2009-10-05 16:36:20 +02:00
Thomas Porzelt 08de1fe4c9 [mod_accesslog] Fix wrong value used with %b and %B if filter active 2009-10-05 14:19:10 +02:00
Thomas Porzelt 10ec6c3d0a [mod_accesslog] Fix wrong call to log_free() instead of log_unref(); set default log format 2009-10-04 15:49:09 +02:00
Stefan Bühler 1d6a2b3d6f Fix mod_vhost memleak 2009-10-03 22:51:10 +02:00
Thomas Porzelt a66ea4b5cf [mod_auth] Fix small memleak 2009-10-03 22:41:24 +02:00
Thomas Porzelt eedf1234a0 [mod_status] Fix invalid read of free()d memory 2009-10-03 21:59:29 +02:00
Stefan Bühler 611b8fc303 Trigger accesslog on vrequest close instead of connection close 2009-10-03 18:06:52 +02:00
Stefan Bühler ca65cf92a9 Move mod_status debug output in debug.log_request_handling 2009-10-03 16:48:17 +02:00
Stefan Bühler 3949cb0939 Show fastcgi socket in backend log, don't show source file/line for backend logs 2009-10-03 15:26:03 +02:00
Stefan Bühler 7e7635200d Use openssl lock callbacks 2009-10-02 14:04:28 +02:00
Stefan Bühler 2806a1d90b Add filedescriptor in ssl errors 2009-10-02 14:04:09 +02:00
Stefan Bühler aadbf51c84 Fix two more leaks, add some safe = NULL inits, free ssl error strings 2009-10-02 12:09:37 +02:00
Stefan Bühler 05bc7981a6 Fix mod_openssl memleak (and perhaps double-free/memory corruption) 2009-10-02 10:44:08 +02:00
Thomas Porzelt 0e1a61da7e [mod_expire] Allow multiple time units (like 1 month 5 days) 2009-09-30 11:35:04 +02:00
Stefan Bühler d36d3cad54 mod_deflate: handle bzip BZ_FINISH_OK response code 2009-09-29 15:25:08 +02:00
Stefan Bühler 95e8368099 Fix mod_status handle_direct/WAIT_FOR_EVENT bug 2009-09-29 14:52:59 +02:00
Stefan Bühler 987b28520d mod_deflate: add 304 not modified handling, handle HEAD requests 2009-09-29 11:46:40 +02:00
Stefan Bühler 4aa63aaafb mod_cache_disk_etag: use async stat 2009-09-29 11:46:19 +02:00
Stefan Bühler 471a521f48 Improve filter handling (handle reverse out stream closing) 2009-09-29 11:45:55 +02:00
Stefan Bühler 5527654703 mod_deflate: don't flush deflate twice without data, add debug/error output 2009-09-28 22:41:06 +02:00
Stefan Bühler 0a1f01fa8c autobuild: add mod_deflate 2009-09-28 20:57:28 +02:00
Stefan Bühler ac028f50c7 mod_deflate: handle more responses 2009-09-28 20:57:09 +02:00
Stefan Bühler 241d0e48de mod_deflate: Add Vary header, reset content-length header 2009-09-28 20:56:28 +02:00
Thomas Porzelt c73bb4cd85 [waf] Add mod_deflate along with --with-zlib and --with-bzip options 2009-09-28 19:25:46 +02:00
Thomas Porzelt 50d5c7af88 [mod_deflate] Add deflate.debug option 2009-09-28 19:06:46 +02:00
Thomas Porzelt 99b28acc1e [mod_rewrite] Undo last change 2009-09-28 19:06:31 +02:00
Thomas Porzelt 2799a9ab3e [mod_rewrite] Change physical path too 2009-09-28 13:19:02 +02:00