380 Commits (5e4a94b0c66e2d2818e74e6a8584ca218dc7866f)

Author SHA1 Message Date
Stefan Bühler e0370fac79 Fix some lua handling; add args for lua plugins/handlers 13 years ago
Stefan Bühler 0a46134334 Fix buffer refcount; segfault/abort in mod_openssl 13 years ago
Stefan Bühler dcd7209a42 [mod_lua] Use handle_prepare to create per-worker context 13 years ago
Stefan Bühler 8f317d1ded [mod_deflate]: don't deflate after transfer-encoding 13 years ago
Stefan Bühler 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location 13 years ago
Stefan Bühler 13611b5243 Improve balancer handling 13 years ago
Stefan Bühler 33b89d8981 Fix mod_proxy (missing \r\n after request line) 13 years ago
Stefan Bühler 750bd453a2 Append to previous buffer in network reads 14 years ago
Stefan Bühler 954778ff71 Show timeout in mod_status for connections 14 years ago
Stefan Bühler fd72f61f68 Update mod_lua docs 14 years ago
Stefan Bühler d70784abd2 Fix mod_status options 14 years ago
Stefan Bühler 5284ce9cb4 Fix option handling: need another opt_base_index for pointer options 14 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 14 years ago
Stefan Bühler 64ba5fddce Cleanup value pointer extractions 14 years ago
Thomas Porzelt 7e44920c50 [mod_vhost] Fix vhost.simple, it checked the physical path instead of docroot 14 years ago
Stefan Bühler edd74a0e3c Rename lighttpd to lighttpd2 14 years ago
Stefan Bühler 7768470b10 mod_lua: fix small memleak (free conf->filename) 14 years ago
Thomas Porzelt 15767d97c0 [mod_accesslog] Use li_string_append_int() instead of g_string_append_printf() 14 years ago
Thomas Porzelt 8e3130ecff [mod_accesslog] Implement %D (duration in microseconds) and %T (duration in seconds) format specifiers 14 years ago
Thomas Porzelt 8716087728 [core] Rename con->ts to con->ts_started 14 years ago
Stefan Bühler 4fd27aca81 autotools: Fix linking 14 years ago
Stefan Bühler 63eadd22fa Fix buildsystems 14 years ago
Stefan Bühler fe7ddede88 Add lua plugins 14 years ago
Stefan Bühler b4c3e2ba02 Add userdata to action-create, setup and plugin-init callbacks 14 years ago
Stefan Bühler e92a6e8865 mod_auth: fix is_handled check 14 years ago
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) 14 years ago
Stefan Bühler 931e8fea0c Make radix tree generic (length independent), use it for mod_access ipv4/ipv6 14 years ago
Stefan Bühler fdf881311d mod_dirlist: use html transitinal instead of xhtml, add javascript sort 14 years ago
Stefan Bühler d55aab7652 mod_auth: add some details to docs 14 years ago
Thomas Porzelt cfa365d275 [mod_auth] Remove auth.htdigest and auth.htpasswd from todo, they are implemented 14 years ago
Stefan Bühler 3da212d8aa mod_dirlist: Fix encode-readme for README.txt 14 years ago
Stefan Bühler 8667b1a1d7 mod_dirlist: Update TODO 14 years ago
Stefan Bühler 577ab12a13 Fix dirlist encode-* defaults 14 years ago
Stefan Bühler 8a8fb91729 Add some features to mod_dirlist, move directory-redirect to vrequest functions and use it for index files 14 years ago
Stefan Bühler dbfad84946 Add fastcgi logging for failed response header parsing 14 years ago
Thomas Porzelt d1095e5943 [mod_status] Add output for peak values 14 years ago
Thomas Porzelt 5ca4cd5eeb [waf] Add lua to uselib for mod_lua 14 years ago
Stefan Bühler d86a5255e4 Add mod_lua 14 years ago
Stefan Bühler 2060595760 Change max-keep-alive requests to 0 "unlimited" 14 years ago
Stefan Bühler 680d3fcec5 mod_deflate: add some options 14 years ago
Stefan Bühler 17c3512f22 Add mod_proxy 14 years ago
Stefan Bühler e2eb4f774d Added mod_scgi 14 years ago
Thomas Porzelt 77068a9f59 [mod_accesslog] Fix %v format specifier 14 years ago
Stefan Bühler b409fd88a0 mod_status: update doc text 14 years ago
Thomas Porzelt 859ee3baec [mod_accesslog] Implement %e, %p and %u format specifiers 14 years ago
Stefan Bühler 6c31517073 mod_auth: set environment vars REMOTE_USER and AUTH_TYPE 14 years ago
Thomas Porzelt 22d5b62336 [mod_accesslog] Fix escaping of quotes and backslashes 14 years ago
Stefan Bühler 114451639a mod_auth: fix memleak 14 years ago
Stefan Bühler 0cb1a1fbfa mod_openssl: fix memleak 14 years ago
Thomas Porzelt 9db95a5fa9 [mod_status] Fix memory leaks with format=plain 14 years ago
Thomas Porzelt 2e8051707b [mod_status] Fix possible double collect_start() 14 years ago
Thomas Porzelt 4e28109716 [mod_status] Fix runtime info page 14 years ago
Stefan Bühler 0fe57dc215 mod_auth: add htdigest and htpasswd (no apr-md5) backend 14 years ago
Thomas Porzelt 419414df8c [mod_vhost] Fix m notation in vhost.pattern 14 years ago
Thomas Porzelt 97d3b9e82f [mod_status] Add format=plain querystring parameter 14 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 14 years ago
Stefan Bühler e71b64f41f Add a li_const_gstring method to create fake GStrings; make some GString* parameters const 14 years ago
Thomas Porzelt ebde532776 [mod_status] Fix mixed up numbers introduced in previous commit 14 years ago
Thomas Porzelt 3e88dd951d [mod_status] Make connection state sums prettier 14 years ago
Stefan Bühler 10e6f0f1a7 mod_status: announce utf-8 encoding 14 years ago
Stefan Bühler e4e16c7da9 mod_status: fix rlimit handling 14 years ago
Stefan Bühler 13904f9aa8 Fix mod_accesslog vr_close handling 14 years ago
Stefan Bühler 90447c6cec Some fixes for HEAD and 206 Partial Content handling 14 years ago
Thomas Porzelt 4540232e78 [mod_status] Print connection state totals instead of scoreboard 14 years ago
Stefan Bühler 7568b9c937 mod_fastcgi: add socket address to all log outputs 14 years ago
Thomas Porzelt 70e1bd247d [mod_status] Add info about fd and coresize limits to runtime page 14 years ago
Thomas Porzelt 08de1fe4c9 [mod_accesslog] Fix wrong value used with %b and %B if filter active 14 years ago
Thomas Porzelt 10ec6c3d0a [mod_accesslog] Fix wrong call to log_free() instead of log_unref(); set default log format 14 years ago
Stefan Bühler 1d6a2b3d6f Fix mod_vhost memleak 14 years ago
Thomas Porzelt a66ea4b5cf [mod_auth] Fix small memleak 14 years ago
Thomas Porzelt eedf1234a0 [mod_status] Fix invalid read of free()d memory 14 years ago
Stefan Bühler 611b8fc303 Trigger accesslog on vrequest close instead of connection close 14 years ago
Stefan Bühler ca65cf92a9 Move mod_status debug output in debug.log_request_handling 14 years ago
Stefan Bühler 3949cb0939 Show fastcgi socket in backend log, don't show source file/line for backend logs 14 years ago
Stefan Bühler 7e7635200d Use openssl lock callbacks 14 years ago
Stefan Bühler 2806a1d90b Add filedescriptor in ssl errors 14 years ago
Stefan Bühler aadbf51c84 Fix two more leaks, add some safe = NULL inits, free ssl error strings 14 years ago
Stefan Bühler 05bc7981a6 Fix mod_openssl memleak (and perhaps double-free/memory corruption) 14 years ago
Thomas Porzelt 0e1a61da7e [mod_expire] Allow multiple time units (like 1 month 5 days) 14 years ago
Stefan Bühler d36d3cad54 mod_deflate: handle bzip BZ_FINISH_OK response code 14 years ago
Stefan Bühler 95e8368099 Fix mod_status handle_direct/WAIT_FOR_EVENT bug 14 years ago
Stefan Bühler 987b28520d mod_deflate: add 304 not modified handling, handle HEAD requests 14 years ago
Stefan Bühler 4aa63aaafb mod_cache_disk_etag: use async stat 14 years ago
Stefan Bühler 471a521f48 Improve filter handling (handle reverse out stream closing) 14 years ago
Stefan Bühler 5527654703 mod_deflate: don't flush deflate twice without data, add debug/error output 14 years ago
Stefan Bühler 0a1f01fa8c autobuild: add mod_deflate 14 years ago
Stefan Bühler ac028f50c7 mod_deflate: handle more responses 14 years ago
Stefan Bühler 241d0e48de mod_deflate: Add Vary header, reset content-length header 14 years ago
Thomas Porzelt c73bb4cd85 [waf] Add mod_deflate along with --with-zlib and --with-bzip options 14 years ago
Thomas Porzelt 50d5c7af88 [mod_deflate] Add deflate.debug option 14 years ago
Thomas Porzelt 99b28acc1e [mod_rewrite] Undo last change 14 years ago
Thomas Porzelt 2799a9ab3e [mod_rewrite] Change physical path too 14 years ago
Stefan Bühler e108be188d Fix broken patch (static file check in mod_cache_disk_etag) 14 years ago
Stefan Bühler 616904e00f Fix filter reset, reactivate check for static file in mod_cache_disk_etag 14 years ago
Stefan Bühler b77d9a33b2 Remove check for static action in mod_cache_disk_etag 14 years ago
Stefan Bühler 4ec620bfac mod_deflate (only cmake support for now) 14 years ago
Stefan Bühler 1acacd5737 Prefix inline api functions with li_ 14 years ago
Thomas Porzelt 418c93880d [mod_status] Some cosmetic fixes 14 years ago
Thomas Porzelt d1c025ba7f [mod_status] Make connection list sortable through javascript 14 years ago
Thomas Porzelt 9032de4986 [mod_status] Hide main/runtime links and version if 'short' option is set 14 years ago
Stefan Bühler d6ff06347d Handle OPTIONS in vrequest by default, check method in other modules 14 years ago
Thomas Porzelt efa2d31ada [mod_status] Fix reporting of request size 14 years ago
Stefan Bühler 7ad0360fae Add status "short"; to hide connection details 14 years ago
Stefan Bühler bf9e34bab7 Remove li_vrequest_stat and fix condition.c 14 years ago
Stefan Bühler 748faf860f Fix redirect scheme 14 years ago
Thomas Porzelt a94fee7b76 [waf] Add new *_lua.c files 14 years ago
Stefan Bühler 659ebfdd16 Add core lua support to handle requests 14 years ago
Stefan Bühler 77f2a832e7 Fix liRequestUri struct 14 years ago
Stefan Bühler c8d60eacd8 Fix autobuild openssl handling 14 years ago
Thomas Porzelt 4698bb9359 [mod_accesslog] Fix %v (server name) placeholder 14 years ago
Stefan Bühler 2aae4e060f Add mod_balancer head comments 14 years ago
Stefan Bühler f030824550 Fix server address (do not use the listen address) 14 years ago
Stefan Bühler 41d0490534 Use raw uri for orig-uri and REQUEST_URI/REDIRECT_URI in fastcgi 14 years ago
Stefan Bühler b61013d9e0 Fix automake to build shared libraries 14 years ago
Stefan Bühler 4be784a91e Fix mod_openssl doc 14 years ago
Thomas Porzelt 3b4014da9d [waf] Add '--with-openssl' option and mod_openssl 14 years ago
Stefan Bühler 6e6921c552 Fix mod_redirect: handles https:// urls as absolute rewrites, redirect if request is already handled is no error 14 years ago
Stefan Bühler 2484a45c1f Set con->is_ssl 14 years ago
Stefan Bühler e7b7b1d82c Add mod_openssl 14 years ago
Thomas Porzelt d434383b66 [automake,cmake] Add mod_auth to build scripts 14 years ago
Thomas Porzelt c82ce879bb [modules] Add mod_auth (only basic method and plaintext files supported yet) 14 years ago
Thomas Porzelt cce1f4276f [mod_access] Return LI_HANDLER_GO_ON if there already is a response handler registered 14 years ago
Stefan Bühler eeddb37e4a Add plugin angel callbacks 14 years ago
Stefan Bühler 39ff1ea62d Fix type in mod_cache_disk_etag 14 years ago
Thomas Porzelt 5c699f571a [waf] Fix includes so config.h gets found 14 years ago
Thomas Porzelt 8b7ea63cf9 [waf] Reenable waf and update to 1.5.8 14 years ago
Thomas Porzelt 96123d01cf [mod_status] Add refresh=X querystring parameter to control auto-refreshing of page 14 years ago
Thomas Porzelt 9ab83c0a1f [mod_status] Merge status.show and status.show_runtime into status.info 14 years ago
Thomas Porzelt f0d5c9e789 [mod_status] Add status.show_runtime action 14 years ago
Thomas Porzelt 6cb5af487f [core] Add li-prefix to structs, enums and function names for encoding helpers 14 years ago
Stefan Bühler e438240ed5 automake: fix make dist and module "lib" prefix 14 years ago
Stefan Bühler 7b1b492bcb automake: mod_rrd doesn't exist yet 14 years ago
Stefan Bühler df96167362 Add automake 14 years ago
Thomas Porzelt c83817721c [mod_rewrite] Fix broken %{request.scheme} 14 years ago
Thomas Porzelt adf9e2b056 [mod_redirect] Fix scheme 14 years ago
Thomas Porzelt 82ea7279df [modules] Add mod_redirect 14 years ago
Thomas Porzelt 048c66938c [mod_rewrite] Implement rewrite action without regex 14 years ago
Thomas Porzelt 4980987578 [mod_accesslog] Remove superflous '+' in timestamp format string 14 years ago
Thomas Porzelt e838c9b3cf [core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp() 14 years ago
Thomas Porzelt 68b32499f9 [mod_vhost] Fix use of uninitialized variable in vhost.map_regex action 14 years ago
Stefan Bühler a061745193 Fix bugs found with the static clang analyzer (http://clang-analyzer.llvm.org/) 14 years ago
Thomas Porzelt 8a9ddd4d7e [mod_vhost] Fix cleanup function of vhost.map_regex action 14 years ago
Thomas Porzelt ec444e95fe [mod_vhost] Make vhost.map_regex (reordering of lists) threadsafe; remove left over todo comments 14 years ago
Thomas Porzelt 45d91e48e4 [mod_vhost] Implement vhost.map_regex action 14 years ago
Thomas Porzelt a3a1e2172e [mod_rewrite] Fix tiny memleak (GError not freed when regex compilation fails) 14 years ago
Thomas Porzelt 952a28d176 Fix a null-pointer dereference and some other small things reported by clang analyzer 14 years ago
Thomas Porzelt 04be82496a [mod_vhost] Use stat cache 14 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 14 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 14 years ago
Stefan Bühler 4128f3f128 Use GPtrArray in mod_fortune 14 years ago
Stefan Bühler d30108b967 Make radix implementation independent of lighty 14 years ago
Thomas Porzelt c8f7ee1a3f [mod_accesslog] Log hyphen instead of "" 14 years ago
Thomas Porzelt c0858a017c [mod_expire] Move multiplcation of factor from expire() to expire_create() 14 years ago
Thomas Porzelt 98276a9b6f [mod_expire] Log errno in case gmtime_r() should fail 14 years ago
Thomas Porzelt c49219699e [modules] Remove unneeded inclusion of stdio.h 14 years ago
Thomas Porzelt 40b4993b2d [mod_expire] Clean up code a bit; append max-age to Cache-Control instead of overwriting 14 years ago
Thomas Porzelt 8ae3462a68 [mod_expire] Fix wrong max-age with 'modification' 14 years ago
Thomas Porzelt 2cffeb7401 [modules] Add mod_expire 14 years ago
Thomas Porzelt 7aa2e0ef14 Remove test debug output from mod_dirlist 14 years ago
Stefan Bühler c2ce9c4f53 Fix encoding functions (use _append for the append version); do not encode characters >= 0x80 for html. 14 years ago
Thomas Porzelt 426ee0bff0 [modules] Add mod_rewrite 14 years ago
Thomas Porzelt a2b40bb581 [mod_access] Fix casting warnings 14 years ago
Thomas Porzelt 1703b67409 [modules] Add mod_access 14 years ago
Stefan Bühler dfb1db14d7 Use pointer-sign warning in cmake und fix many of them. 14 years ago
Thomas Porzelt 383fa6a4f5 - introduce throttling via pools, rework throttling by connection
- new actions: 'throttle_pool', 'throttle_connection' and 'status'
- don't start waitqueue timer in waitqueue_init(); start/stop timer on demand
- new parameter for network_write(): write_max
- move stats and timeout handling from network_write/read() to connection_cb()
14 years ago
Stefan Bühler 595ce1fe13 Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con 14 years ago
Thomas Porzelt f07f4d4971 [mod_vhost] Fix vhost.pattern again (build physical.path) 14 years ago
Thomas Porzelt d1df9e2274 [mod_vhost] Fix vhost.pattern action 14 years ago
Stefan Bühler 194db07279 Use GByteArray in mod_fastcgi 14 years ago
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 14 years ago
Stefan Bühler 6a56aba0c3 Use 2^n-1 in GSring pre-allocations (so glib doesn't alloc 2^(n+1) for 2^n) 14 years ago
Stefan Bühler 02c8be5afd Use prepared string for the local/remote socket address in mod_fastcgi 14 years ago
Thomas Porzelt f44f620eda [modules] add mod_debug 14 years ago
Thomas Porzelt 9f8413c112 [mod_status] add more info to connection list 14 years ago
Thomas Porzelt ddb0448a96 rework stat_cache 14 years ago
Thomas Porzelt 0e03d1a362 [mod_dirlist] fix new leaks 14 years ago
Stefan Bühler a62cdebb91 Fix static file/dirlist handling and add etag support 14 years ago
Stefan Bühler 325ec6a5b6 Add content-length in mod-cache-disk-etag 14 years ago
Stefan Bühler 6a92322143 Reduce printf usage in mod_dirlist 14 years ago
Stefan Bühler 669ff2e079 Fix mod-status collect handling 14 years ago
Stefan Bühler 171ab51db5 Fix segfault in mod_cache_disk_etag if no etag is present 14 years ago
Thomas Porzelt 3629e1aebf [mod_status] add scoreboard 14 years ago
Thomas Porzelt a9c75934a8 change counter format output 14 years ago
Stefan Bühler bedcc3d46a Added mod_cache_disk_etag: caches produced content on disk and checks for it via etag. 14 years ago
Stefan Bühler 12b421b9a9 Don't block fastcgi if limit on input queue is hit 14 years ago
Thomas Porzelt 3137f19ce5 [mod_dirlist] add hide-directories, exclude-prefix and exclude-suffix parameter 14 years ago
Thomas Porzelt 7bd421e79e fix comment in mod_dirlist 14 years ago
Stefan Bühler 6e747478d4 Fix ISO C90 decl/code mixing 14 years ago
Thomas Porzelt 0c01dd91d3 add debug parameter for dirlist action in mod_dirlist 14 years ago
Thomas Porzelt a874e682c7 fix mem leak in mod_dirlist 14 years ago
Thomas Porzelt 30ff4619fa forgot mod_dirlist.c 14 years ago
Stefan Bühler d8d8c8ea1b Disable cqlimit debug, fixed some more bugs with cqlimit. 14 years ago
Stefan Bühler 98a36e970a Change mod_fastcgi to not wait for complete packets (enables limits < 64kbyte); fix some limit handling. 14 years ago
Stefan Bühler 2f9e612c99 Use chunkqueue-limit (setup in plugin_core) 14 years ago
Stefan Bühler b033f0c194 Extended sockaddr_to_string for use in connect-failed error message in mod_fastcgi 14 years ago
Stefan Bühler 050d0d60d6 Fix cast warning (char* -> unsigned char*) in mod_fastcgi 14 years ago
Stefan Bühler c584da22db Handle environment vars in mod_fastcgi 14 years ago
Thomas Porzelt 1ebe6dc37d fix small mistake in mod_vhost.c example config comment 14 years ago
Thomas Porzelt cb4741c56d fix little typo in mod_fastcgi.c comment 14 years ago
Thomas Porzelt 9b785c567a add vhost.pattern (1.x evhost like functionality) to mod_vhost 14 years ago