2
0
Fork 0
Commit Graph

388 Commits

Author SHA1 Message Date
Stefan Bühler 1951de6e40 [mod_acceslog] fix escaping of " 2012-06-16 12:57:27 +02:00
Stefan Bühler 5d48ae7102 [log] Add changable log contexts (i.e. references to the real one), so a pointer to such context can be used over a longer period of time 2012-03-17 15:52:19 +01:00
Stefan Bühler b1c45e6a8f [chunk/network] use glib error system to report errors (instead of using virtualrequest context) 2012-03-16 15:44:22 +01:00
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 2012-03-16 13:25:52 +01:00
Stefan Bühler c270124514 [mod_gnutls] remove \n from log messages 2012-01-22 13:26:29 +01:00
Stefan Bühler 34ad0a52e4 [gnutls] fix automake 2012-01-17 22:47:53 +01:00
Stefan Bühler bef05e0b2e new module: mod_gnutls 2012-01-17 21:30:13 +01:00
Thomas Porzelt 8a4565a63a [mod_flv] don't retry close(fd) on EINTR
Sources:
- http://www.daemonology.net/blog/2011-12-17-POSIX-close-is-broken.html
- http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html
- http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3202.html

However this might not be true for all systems, more investigation needed.
2011-12-17 10:57:56 +01:00
Stefan Bühler f98f9bb7b3 [openssl] fix error message for wrong listen option 2011-12-16 20:57:26 +01:00
Stefan Bühler dd4ed2c560 [mod_openssl] fix build error if SSL_OP_NO_COMPRESSION isn't defined 2011-12-02 13:43:54 +01:00
Stefan Bühler 7a9ae91566 [mod_openssl] close connection on client initiated renegotiation 2011-12-02 13:38:22 +01:00
Joe Presbrey 85b620eb3c [mod_openssl] add options and defaults
Co-authored-by: Stefan Bühler <stbuehler@web.de>
2011-12-02 12:15:28 +01:00
Joe Presbrey 92bfc4c676 [mod_openssl] add openssl.setenv action (client, client-cert, server, server-cert) 2011-11-30 12:53:06 -05:00
Joe Presbrey 3f9ba6ebdc [mod_openssl] add verify{,-any,-depth,-require}, client-ca-file 2011-11-30 01:26:04 +01:00
Thomas Porzelt 3af94cf12d [mod_progress] free data on module unload properly 2011-11-26 16:17:31 +01:00
Thomas Porzelt 011380dcb7 [core] change memory profiler output, add minsize parameter to debug.profiler_dump action 2011-11-15 02:01:35 +01:00
Joe Presbrey 60fc8d421d [mod_status] add status_info_auto 2011-11-11 12:31:44 -05:00
Thomas Porzelt 259cdb57e3 [mod_accesslog] Fix %r (first request line) formatter 2011-05-09 21:07:54 +02:00
Stefan Bühler eb9f6aa368 [plugins] Fix some default options (the raw default-value is only used when there is no parser method) 2011-01-30 15:51:33 +01:00
Stefan Bühler be50c790e1 [mod_balance]: renamed from mod_balancer 2011-01-23 13:55:36 +01:00
Stefan Bühler 366d00328c Fix bug in delayed connection handling, 2nd try 2010-12-27 16:21:13 +01:00
Stefan Bühler 318b7bf041 Fix bug in delayed connection handling 2010-12-27 16:06:34 +01:00
Thomas Porzelt a40a03cc75 [mod_redirect] Fix patterns using %n references 2010-12-17 20:48:48 +01:00
Stefan Bühler 58bc3f8276 [mod_openssl] make sure we get notified for EV_WRITE again 2010-11-26 14:05:05 +01:00
Thomas Porzelt 6c70cba7cb [mod_auth] return 403 instead of 401 in auth.deny 2010-11-13 17:28:49 +01:00
Thomas Porzelt 77aa943b38 [mod_auth] Fix segfault in auth_handle_deny() 2010-11-01 18:22:00 +01:00
Stefan Bühler 11fa781f98 Fix some warnings found with clang analyzer 2010-10-07 18:31:21 +02:00
Stefan Bühler 2941105e28 [pattern] Fix vr->wrk->tmp_str usage, remove pattern.h from base.h, add pattern support to header.add* actions 2010-10-07 16:14:12 +02:00
Stefan Bühler 93e442d5c9 [mod_accesslog] Fix output formatting 2010-10-06 19:03:18 +02:00
Stefan Bühler f521719737 Fix some link problems with -lcrypt 2010-10-06 14:24:01 +02:00
Stefan Bühler ab9421a5e1 [core] Provide safe wrapper for crypt if crypt_r is not available 2010-10-06 13:47:48 +02:00
Stefan Bühler 9dd5a0c4db [mod_balancer] Fix backend selection 2010-10-06 13:44:22 +02:00
Stefan Bühler 9a7dc4ecd6 [mod_vhost] drop vhost.simple / vhost.pattern 2010-10-05 14:40:17 +02:00
Stefan Bühler e440caa9c6 [mod_auth] document that $apr1$ is supported now 2010-10-03 19:59:42 +02:00
Stefan Bühler 685973a3ca [mod_auth] Fix authentication (has been "disabled")! Implement apr-md5 crypt, add test cases 2010-10-03 15:53:43 +02:00
Thomas Porzelt 715a75f0aa [mod_deflate] Add 'compression-level' param to deflate action, defaults to 1 2010-09-26 18:06:16 +02:00
Stefan Bühler 8b75858fea [mod_redirect] fix segfault 2010-09-26 12:47:35 +02:00
Stefan Bühler 19eed747a1 [mod_rewrite] Add rewrite_raw 2010-09-26 12:09:26 +02:00
Stefan Bühler 9b52427d29 [mod_redirect] Use liPattern 2010-09-26 11:56:27 +02:00
Stefan Bühler 9d6eb1394d [mod_rewrite] Use liPattern 2010-09-26 01:04:50 +02:00
Stefan Bühler 97088f667e Fix typos / missing includes 2010-09-23 21:26:48 +02:00
Stefan Bühler 8ae6902602 [core] remove lighttpd-glue.h from base.h 2010-09-23 18:35:57 +02:00
Stefan Bühler 7fbcfb86d9 [mod_openssl]: better io event handling (ssl may want to write while lighty only wants to read) 2010-09-23 13:36:07 +02:00
Stefan Bühler 44b86b71be [mod_userdir]: Fix Makefile.am to use the correct source file 2010-09-22 22:12:50 +02:00
Thomas Porzelt 7e94308ea6 [mod_limit] Fix liSocketAddress usage in combination with radix trees 2010-09-20 19:49:49 +02:00
Thomas Porzelt c972bea1e0 [mod_limit] Fix radix tree usage (api wants bits not bytes) 2010-09-19 23:59:15 +02:00
Thomas Porzelt 8892840298 [mod_limit] Thread safety fixes 2010-09-19 16:27:10 +02:00
Stefan Bühler 21327b7d93 [mod_progress]: kill global var 2010-09-12 15:08:49 +02:00
Stefan Bühler be65208143 waitqueue: modify callback 2010-09-12 14:19:25 +02:00
Stefan Bühler 3482c04c26 [mod_auth]: fix segfault from last commit 2010-09-12 13:55:37 +02:00
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