summaryrefslogtreecommitdiff
path: root/src/plugin.h
Commit message (Collapse)AuthorAgeFilesLines
* [core] SIGCHLD handle_waitpid hook for modulesGlenn Strauss2017-09-101-1/+3
| | | | | | | | | centralize most waitpid() handling in core server, with hooks for modules to be informed of pid and status when a process exits. This enables faster discovery (and restart) of exited processes, and also allows for lighttpd to manage backend processes in the parent (master) process when server.max-worker > 0.
* [core] allow earlier plugin init for SSL/TLSGlenn Strauss2017-05-211-0/+1
| | | | | | | | If lighttpd is started privileged, then SSL/TLS modules need to be initialized prior to chroot (optional) and prior to dropping privileges in order to be able to read sensitive files such as private certificates (thx m4t)
* [core] new plugin hooks to help isolate SSLGlenn Strauss2017-01-141-1/+7
| | | | | | | handle_request_env (called on demand by handlers to populate env) handle_connection_accept handle_connection_shut_wr (was handle_connection_close) handle_connection_close (now occurs at socket close())
* remove redundant calls to end-of-request hooksGlenn Strauss2017-01-141-1/+1
| | | | | | | The (misnamed) connection_reset hook is always called after a request, whether request completes or is aborted, and whether keep-alive or not, so no needed to repeat the same function in the handle_connection_close hook.
* backport mod_deflate to lighttpd 1.4 (fixes #1824, fixes #2753)Glenn Strauss2016-09-221-0/+2
| | | | | | | | | | | | | | | | | | | | lots of fixes and improvements limitations: see comments at top of mod_deflate.c missing functionality: encode streaming response (module currently requires response be collected before being sent) potential functionality: addition of compressed file cache would allow mod_deflate to fully supplant mod_compress in lighttpd 1.4.x x-ref: "Adding mod_deflate to 1.4.xx" https://redmine.lighttpd.net/issues/1824 "mod_deflate backport compile error if ENABLE_MMAP not defined" https://redmine.lighttpd.net/issues/2753 github: closes #67
* remove handle_joblist hookGlenn Strauss2016-04-181-3/+0
| | | | | | | remove handle_joblist hook and remove the hooks defined in mod_fastcgi and mod_scgi. The calls made to fdevent management are redundant. If the calls were actually needed, then mod_proxy would have needed a handle_joblist handler, too.
* consistent inclusion of config.h at top of files (fixes #2073)Glenn Strauss2016-03-191-0/+1
| | | | | | From: Glenn Strauss <gstrauss@gluelogic.com> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3113 152afb58-edef-0310-8abb-c4023f1b3aa9
* [core] improve conditional enabling (thx Gwenlliana, #2598)Stefan Bühler2016-02-211-2/+0
| | | | | | | | | | | | | | instead of looping over all config blocks for each conditional var that gets enabled, enable them all and run over them once. Right now it seems we actually set all variables at once in normal config handling (SNI only sets a subset); future modifications might introduce new variables which are activated at a later stage (physical path related for example). From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3083 152afb58-edef-0310-8abb-c4023f1b3aa9
* [config] check config option scope; warn if server option is given in ↵Stefan Bühler2015-11-071-2/+2
| | | | | | | | conditional From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3049 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix non-ANSI function declarations.Cyril Brulebois2012-08-311-1/+1
| | | | | | | | | | | | The proper way to declare a function taking no parameters isn't: foo bar(); But this instead: foo bar(void); Signed-off-by: Cyril Brulebois <kibi@debian.org> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2843 152afb58-edef-0310-8abb-c4023f1b3aa9
* - white space cleanup part 2 this time 1.4 ;)Marcus Rückert2006-10-041-11/+11
| | | | | | i hope it helps with merging stuff back to 1.5 git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
* ..physical_path is gone and has ben replaced by subrequest_startJan Kneschke2005-08-151-2/+0
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@532 152afb58-edef-0310-8abb-c4023f1b3aa9
* added include_shell option to configfiles (merged the rest of the trunk ↵Jan Kneschke2005-08-091-0/+1
| | | | | | changesets) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
* allow _ in env. and var. and optimized matching of conditionsJan Kneschke2005-08-081-1/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@529 152afb58-edef-0310-8abb-c4023f1b3aa9
* let mod_alias handle directories and files (merged [284], [294])Jan Kneschke2005-08-081-0/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@504 152afb58-edef-0310-8abb-c4023f1b3aa9
* moved everything below trunk/ and added branches/ and tags/Jan Kneschke2005-02-201-0/+91
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9