791 Commits (881669d96a537c857f0e19f2bff0bff7b5321cd2)

Author SHA1 Message Date
Stefan Bühler 7568b9c937 mod_fastcgi: add socket address to all log outputs
14 years ago
Stefan Bühler df207beb6b stat cache: Alloc dirlist entry array only if stat was successful
14 years ago
Stefan Bühler 4653900eca Fix stat-cache ref counting
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 5e1c8a7725 [core] Fix compiler warning introduced with previous commit (not shown on osx...)
14 years ago
Thomas Porzelt eff81a92e9 [core] Don't increase refcount for module when specified multiple times in config
14 years ago
Thomas Porzelt 24ef64338f [core] Add missing call to free-callback in li_server_plugins_free()
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 855ac43999 Fix small copy/paste bug
14 years ago
Stefan Bühler e3393ce2f5 angel: add support for setting RLIMIT_CORE / RLIMIT_NOFILE
14 years ago
Stefan Bühler a14a709237 Add max-connections check, set to max-fds/4
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 f9efd8a5ab Fix problem with memcpy-macros
14 years ago
Stefan Bühler 3222d42bba Use larger buffer for stderr pipe reads
14 years ago
Stefan Bühler 8ac057d3d5 angel: Add wrapper, env and copy-env to instance config
14 years ago
Stefan Bühler 611b8fc303 Trigger accesslog on vrequest close instead of connection close
14 years ago
Stefan Bühler 7cf91dc9ad Fix previous commit (missing plugin_core include)
14 years ago
Stefan Bühler 856a841820 Move io-timeout message into log_request_handling
14 years ago
Stefan Bühler 0d6795f08a Remove write event if out queue gets empty
14 years ago
Stefan Bühler 037c78e8ed Fix closing sockets on shutdown
14 years ago
Stefan Bühler ca65cf92a9 Move mod_status debug output in debug.log_request_handling
14 years ago
Stefan Bühler 367404fdb1 Add "request.is_handled" condition
14 years ago
Stefan Bühler 80346e85d1 Fix to-angel logging, disable message repeat counter
14 years ago
Stefan Bühler 476698f118 luaApi: move global method/constants into lighty. namespace, add vr:stat(filename)
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 ac923e9d0c Improve lua api
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 48721307b3 Remove req/s debug output, put docroot debug in request-handling option
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 6702e1413b Fix too fast closing of con->out (skipped mod-deflate), rely on closed vr->out instead
14 years ago
Stefan Bühler 7133bae151 Fix vrequest state machine w. waiting actions
14 years ago
Thomas Porzelt a7e15569e1 [core] Add comment for cheap fix introduced in the previous commit
14 years ago
Thomas Porzelt f51e9e6129 [core] Fix segfault when regex condition errors
14 years ago
Stefan Bühler 5527654703 mod_deflate: don't flush deflate twice without data, add debug/error output
14 years ago
Thomas Porzelt 97e54c9ee2 [core] Add response.status and response.header conditionals to config parser
14 years ago
Stefan Bühler 4b94e01ecc Add response.header/status conditionals
14 years ago
Stefan Bühler a687b03638 Add boolean conditionals to lua
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
Stefan Bühler c6bd0d66b7 Fix fd leak
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 55734af993 Add request.remoteip and localip for config parser
14 years ago
Stefan Bühler 96e505bea7 Fix server.tag and version output
14 years ago
Stefan Bühler 08bb8f7c23 Some request handling bugs (keep-alive, content-length, pipelining)
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 00ed27c509 Log server errors into default logs
14 years ago
Stefan Bühler 7ad0360fae Add status "short"; to hide connection details
14 years ago
Stefan Bühler 4f9b5ccd3e Remove plugin-core physical actions
14 years ago
Stefan Bühler 628b5734e1 Remove li_vrequest_stat and fix condition.c, part 2
14 years ago
Stefan Bühler bf9e34bab7 Remove li_vrequest_stat and fix condition.c
14 years ago
Stefan Bühler 2304093289 Fix double slash after docroot
14 years ago
Thomas Porzelt e762ac1208 [core] Remove redundant css from error pages
14 years ago
Thomas Porzelt 13543bdcf9 [core] Allow relative paths in include statements in the config parser
14 years ago
Stefan Bühler 748faf860f Fix redirect scheme
14 years ago
Stefan Bühler 1ffd7df84e Fix response header parsing
14 years ago
Stefan Bühler f31572bef1 Append slash to doc-root for physical path if it is missing
14 years ago
Stefan Bühler 1aeed6c222 Execute self defined actions
14 years ago
Stefan Bühler 59f4041ff3 Remove li_vrequest_stat() usage
14 years ago
Stefan Bühler 7f8d368f7f Allow more whitespace in config
14 years ago
Stefan Bühler 39a879f89a Add "include_lua" to config special commands if compiled with lua
14 years ago
Stefan Bühler 0320330685 Fix some casts for in_addr
14 years ago
Thomas Porzelt 1df869edc3 [waf] Add missing checks for localtime_r() and gmtime_r()
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 897b27c692 Some core docs fixed
14 years ago
Stefan Bühler 77f2a832e7 Fix liRequestUri struct
14 years ago
Stefan Bühler a8a761946c Fix etag option, added comment so no one tries to clean it up again :)
14 years ago
Stefan Bühler c8d60eacd8 Fix autobuild openssl handling
14 years ago
Stefan Bühler b696fcbe0d Small plugin-core options cleanup
14 years ago
Thomas Porzelt 4698bb9359 [mod_accesslog] Fix %v (server name) placeholder
14 years ago
Stefan Bühler 959733cf82 Remove event_handler setup
14 years ago
Stefan Bühler 2aae4e060f Add mod_balancer head comments
14 years ago
Stefan Bühler 772b87bfb3 [cmake] small cleanups, renamed common lib
14 years ago
Stefan Bühler f030824550 Fix server address (do not use the listen address)
14 years ago
Thomas Porzelt 21cfd4ab71 [waf] Fix double linkage of *_lua.c in some commandline usage cases
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 374ebbeff7 Fix index action: require trailing slash in uri path, append index filename to uri
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 9d58498951 No cleanup if config file loading fails (fixes segfault)
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
Stefan Bühler a663088a77 Add custom server socket callbacks (for ssl modules)
14 years ago
Stefan Bühler c77ba3eb20 Cleanup connection code
14 years ago
Stefan Bühler 2a29965dc5 Accept LF in http responses instead of CRLF too
14 years ago
Thomas Porzelt 5e5f5564ee [core] Fix for commit #572
14 years ago
Thomas Porzelt 0372f3a671 [core] Add status code 418 to li_http_method_string()
14 years ago
Thomas Porzelt 6016ec94fe [core] Make error pages prettier and add a little error description
14 years ago
Thomas Porzelt cd10b26497 [core] Don't print debug message about config parser when there's no problem
14 years ago
Thomas Porzelt df225dc007 [core] Limit request uri to 8 kilobytes and whole request header to 64 kilobytes
14 years ago
Thomas Porzelt d434383b66 [automake,cmake] Add mod_auth to build scripts
14 years ago
Stefan Bühler 007e5e040c Add listen mask checks to angel
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 b32c74a180 vr->handle_response_body was replaced with vr->backend (and is used for something else now)
14 years ago
Thomas Porzelt ebedf9c981 [waf] Fix building with lua
14 years ago
Thomas Porzelt 25008966af [waf] Remove old/unused wscript
14 years ago
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state
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
Stefan Bühler f221bac60e Fix handling closing sockets (read buffer until EOF, error or timeout)
14 years ago
Thomas Porzelt de499089ff [waf] Add missing HAVE_CONFIG_H=1 define for common lib
14 years ago
Thomas Porzelt 6184f88e08 [core] Fix connection bandwidth stats calculation
14 years ago
Thomas Porzelt 0ee98620b7 [core] Fix 'include' directive in config parser
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 86ebb4c7f0 [core] Add li_querystring_find() function to utils
14 years ago
Thomas Porzelt f0d5c9e789 [mod_status] Add status.show_runtime action
14 years ago
Stefan Bühler 8a0665aa53 Set tm.tm_isdst = 0 before mktime()
14 years ago
Thomas Porzelt 8a13426774 [core] Stop stat cache waitqueue in sigint/worker stop
14 years ago
Stefan Bühler 24483f55ed cmake: build common lib as shared lib, cleanup CMakeLists.txt
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
Stefan Bühler be5d0c7d75 Require cmake 2.6.4
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 549daa97e1 [core] Use DEBUG() makro instead of g_printerr() in config parser
14 years ago
Stefan Bühler 4f9a695051 Compile common source as static lib
14 years ago
Stefan Bühler 0087b8cfc2 Better error message if spawn failed
14 years ago
Stefan Bühler 6a6c1c0511 Remove usage of "environ"
14 years ago