2
0
Fork 0
Commit Graph

347 Commits (ff69160c346fd09f3a6bd1148f8652a7c63e5e7a)

Author SHA1 Message Date
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
Stefan Bühler e108be188d Fix broken patch (static file check in mod_cache_disk_etag) 2009-09-26 21:17:36 +02:00
Stefan Bühler 616904e00f Fix filter reset, reactivate check for static file in mod_cache_disk_etag 2009-09-26 21:13:27 +02:00
Stefan Bühler b77d9a33b2 Remove check for static action in mod_cache_disk_etag 2009-09-26 20:57:47 +02:00
Stefan Bühler 4ec620bfac mod_deflate (only cmake support for now) 2009-09-26 20:32:58 +02:00
Stefan Bühler 1acacd5737 Prefix inline api functions with li_ 2009-09-26 20:31:52 +02:00
Thomas Porzelt 418c93880d [mod_status] Some cosmetic fixes 2009-09-16 21:48:05 +02:00
Thomas Porzelt d1c025ba7f [mod_status] Make connection list sortable through javascript 2009-09-16 20:55:31 +02:00
Thomas Porzelt 9032de4986 [mod_status] Hide main/runtime links and version if 'short' option is set 2009-09-16 13:38:23 +02:00
Stefan Bühler d6ff06347d Handle OPTIONS in vrequest by default, check method in other modules 2009-09-15 21:30:25 +02:00
Thomas Porzelt efa2d31ada [mod_status] Fix reporting of request size 2009-09-15 21:29:15 +02:00
Stefan Bühler 7ad0360fae Add status "short"; to hide connection details 2009-09-15 20:17:27 +02:00
Stefan Bühler bf9e34bab7 Remove li_vrequest_stat and fix condition.c 2009-09-15 19:08:13 +02:00
Stefan Bühler 748faf860f Fix redirect scheme 2009-09-15 12:16:24 +02:00
Thomas Porzelt a94fee7b76 [waf] Add new *_lua.c files 2009-09-13 21:54:38 +02:00
Stefan Bühler 659ebfdd16 Add core lua support to handle requests 2009-09-13 17:54:16 +02:00
Stefan Bühler 77f2a832e7 Fix liRequestUri struct 2009-09-13 17:45:41 +02:00
Stefan Bühler c8d60eacd8 Fix autobuild openssl handling 2009-09-11 22:36:24 +02:00
Thomas Porzelt 4698bb9359 [mod_accesslog] Fix %v (server name) placeholder 2009-09-09 20:44:06 +02:00
Stefan Bühler 2aae4e060f Add mod_balancer head comments 2009-09-09 19:30:13 +02:00
Stefan Bühler f030824550 Fix server address (do not use the listen address) 2009-09-09 18:12:05 +02:00
Stefan Bühler 41d0490534 Use raw uri for orig-uri and REQUEST_URI/REDIRECT_URI in fastcgi 2009-09-09 00:56:59 +02:00
Stefan Bühler b61013d9e0 Fix automake to build shared libraries 2009-09-09 00:12:34 +02:00
Stefan Bühler 4be784a91e Fix mod_openssl doc 2009-09-09 00:11:52 +02:00
Thomas Porzelt 3b4014da9d [waf] Add '--with-openssl' option and mod_openssl 2009-09-08 23:48:45 +02:00
Stefan Bühler 6e6921c552 Fix mod_redirect: handles https:// urls as absolute rewrites, redirect if request is already handled is no error 2009-09-08 22:48:31 +02:00
Stefan Bühler 2484a45c1f Set con->is_ssl 2009-09-08 22:09:35 +02:00
Stefan Bühler e7b7b1d82c Add mod_openssl 2009-09-08 19:10:09 +02:00
Thomas Porzelt d434383b66 [automake,cmake] Add mod_auth to build scripts 2009-09-05 11:41:35 +02:00
Thomas Porzelt c82ce879bb [modules] Add mod_auth (only basic method and plaintext files supported yet) 2009-09-02 21:13:19 +02:00
Thomas Porzelt cce1f4276f [mod_access] Return LI_HANDLER_GO_ON if there already is a response handler registered 2009-09-02 21:11:48 +02:00
Stefan Bühler eeddb37e4a Add plugin angel callbacks 2009-08-30 19:25:01 +02:00
Stefan Bühler 39ff1ea62d Fix type in mod_cache_disk_etag 2009-08-30 14:53:43 +02:00
Thomas Porzelt 5c699f571a [waf] Fix includes so config.h gets found 2009-08-19 13:17:18 +02:00
Thomas Porzelt 8b7ea63cf9 [waf] Reenable waf and update to 1.5.8 2009-08-18 22:57:23 +02:00
Thomas Porzelt 96123d01cf [mod_status] Add refresh=X querystring parameter to control auto-refreshing of page 2009-08-13 20:08:37 +02:00
Thomas Porzelt 9ab83c0a1f [mod_status] Merge status.show and status.show_runtime into status.info 2009-08-13 19:52:23 +02:00
Thomas Porzelt f0d5c9e789 [mod_status] Add status.show_runtime action 2009-08-09 18:04:53 +02:00
Thomas Porzelt 6cb5af487f [core] Add li-prefix to structs, enums and function names for encoding helpers 2009-08-03 20:33:17 +02:00
Stefan Bühler e438240ed5 automake: fix make dist and module "lib" prefix 2009-08-02 12:02:36 +02:00
Stefan Bühler 7b1b492bcb automake: mod_rrd doesn't exist yet 2009-07-31 20:40:01 +02:00
Stefan Bühler df96167362 Add automake 2009-07-31 20:36:37 +02:00