|
Revision tags: lighttpd-1.4.69 |
|
| #
6516c5a2 |
| 19-Jan-2023 |
Glenn Strauss <[email protected]> |
[multiple] clang -Wstrict-prototypes for C2x
adjustments to compile warnings-free with recent clang changes that warn about potential behavior change for non-prototypes, including generic function p
[multiple] clang -Wstrict-prototypes for C2x
adjustments to compile warnings-free with recent clang changes that warn about potential behavior change for non-prototypes, including generic function pointers e.g. int(*)()
x-ref: https://discourse.llvm.org/t/rfc-enabling-wstrict-prototypes-by-default-in-c/60521 https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2432.pdf https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2841.htm
show more ...
|
|
Revision tags: lighttpd-1.4.68, lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65 |
|
| #
ddb7f564 |
| 26-Apr-2022 |
Glenn Strauss <[email protected]> |
[core] remove func decls duplicated in plugin.h
|
| #
96557115 |
| 18-Feb-2022 |
Glenn Strauss <[email protected]> |
[core] isolate plugins_*() funcs to main server
(future: might rename plugin.c -> plugins.c since the functions contained within are all plugins_*())
|
|
Revision tags: lighttpd-1.4.64, lighttpd-1.4.63, lighttpd-1.4.62, lighttpd-1.4.61, lighttpd-1.4.60 |
|
| #
0afab29c |
| 12-May-2021 |
Glenn Strauss <[email protected]> |
[core] merge uri_raw and uri_clean hooks
hooks are run consecutively in http_response_prepare()
merge uri_raw before uri_clean to preserve existing ordering
|
|
Revision tags: lighttpd-1.4.59, lighttpd-1.4.58, lighttpd-1.4.57, lighttpd-1.4.56, lighttpd-1.4.56-rc7, lighttpd-1.4.56-rc6, lighttpd-1.4.56-rc5, lighttpd-1.4.56-rc4, lighttpd-1.4.56-rc3, lighttpd-1.4.56-rc2, lighttpd-1.4.56-rc1 |
|
| #
33c8cf41 |
| 25-Jul-2020 |
Glenn Strauss <[email protected]> |
[multiple] rename connection_reset hook to request
rename connection_reset to handle_request_reset
|
|
Revision tags: lighttpd-1.4.55 |
|
| #
7c7f8c46 |
| 13-Jan-2020 |
Glenn Strauss <[email protected]> |
[multiple] split con, request (very large change)
NB: r->tmp_buf == srv->tmp_buf (pointer is copied for quicker access)
NB: request read and write chunkqueues currently point to connection chun
[multiple] split con, request (very large change)
NB: r->tmp_buf == srv->tmp_buf (pointer is copied for quicker access)
NB: request read and write chunkqueues currently point to connection chunkqueues; per-request and per-connection chunkqueues are not distinct from one another con->read_queue == r->read_queue con->write_queue == r->write_queue
NB: in the future, a separate connection config may be needed for connection-level module hooks. Similarly, might need to have per-request chunkqueues separate from per-connection chunkqueues. Should probably also have a request_reset() which is distinct from connection_reset().
show more ...
|
| #
31d94953 |
| 11-Jan-2020 |
Glenn Strauss <[email protected]> |
[core] store subrequest_handler instead of mode
store pointer to module in handler_module instead of con->mode id
|
| #
eea7cd3c |
| 11-Jan-2020 |
Glenn Strauss <[email protected]> |
[core] store (plugin *) in p->data
(self-referential)
|
| #
f24e6d69 |
| 28-Nov-2019 |
Glenn Strauss <[email protected]> |
[multiple] plugin_stats array
use global rather than passing around (server *) just for that
li_itostrn() and li_utostrn() return string length (rather than requiring subsequent strlen() to find le
[multiple] plugin_stats array
use global rather than passing around (server *) just for that
li_itostrn() and li_utostrn() return string length (rather than requiring subsequent strlen() to find length)
show more ...
|
| #
50bdb55d |
| 26-Nov-2019 |
Glenn Strauss <[email protected]> |
[multiple] connection hooks no longer get (srv *)
(explicit (server *) not passed; available in con->srv)
|
| #
5977ce2b |
| 21-Nov-2019 |
Glenn Strauss <[email protected]> |
[core] isolate use of data_config, configfile.h
|
| #
ba88ff0e |
| 20-Nov-2019 |
Glenn Strauss <[email protected]> |
[core] run all trigger and sighup handlers
(do not bail if a handler returns something other than HANDLER_GO_ON)
(preserve fn signature for simplicity and compat with plugin_fn_data)
|
| #
b73949e0 |
| 19-Nov-2019 |
Glenn Strauss <[email protected]> |
[multiple] plugin.c handles common FREE_FUNC code
(simpler for modules; less boilerplate to cut-n-paste)
|
| #
b87e8783 |
| 23-Oct-2019 |
Glenn Strauss <[email protected]> |
[core] config_plugin_values_init() new interface
new data structures and interface for processing config directives (towards more efficient approach to config merging)
continue work to isolate data
[core] config_plugin_values_init() new interface
new data structures and interface for processing config directives (towards more efficient approach to config merging)
continue work to isolate data_config
show more ...
|
| #
b2b41e36 |
| 22-Oct-2019 |
Glenn Strauss <[email protected]> |
[core] struct plugin_data_base
|
| #
e2de4e58 |
| 19-Oct-2019 |
Glenn Strauss <[email protected]> |
[core] const char *name in struct plugin
put void *data (always used) as first member of struct plugin
add int nconfig member to PLUGIN_DATA
calloc() inits p->data to NULL
|
|
Revision tags: lighttpd-1.4.54 |
|
| #
f1e9bcb0 |
| 22-Mar-2019 |
Glenn Strauss <[email protected]> |
[core] new worker_init hook to follow parent fork
|
| #
fb9b8ad8 |
| 04-Feb-2019 |
Glenn Strauss <[email protected]> |
[core] mark startup/shutdown funcs cold
|
|
Revision tags: lighttpd-1.4.53, lighttpd-1.4.52, lighttpd-1.4.51, lighttpd-1.4.50 |
|
| #
04d76e7a |
| 25-Mar-2018 |
Glenn Strauss <[email protected]> |
[core] some header cleanup
provide standard types in first.h instead of base.h provide lighttpd types in base_decls.h instead of settings.h reduce headers exposed by headers for core data structures
[core] some header cleanup
provide standard types in first.h instead of base.h provide lighttpd types in base_decls.h instead of settings.h reduce headers exposed by headers for core data structures do not expose <pcre.h> or <stdlib.h> in headers move stat_cache_entry to stat_cache.h reduce use of "server.h" and "base.h" in headers
show more ...
|
|
Revision tags: lighttpd-1.4.49 |
|
| #
cb371557 |
| 10-Jan-2018 |
Glenn Strauss <[email protected]> |
[core] merge redirect/rewrite pattern substitution
merge redirect/rewrite pattern substitution function (share code)
|
|
Revision tags: lighttpd-1.4.48, lighttpd-1.4.47, lighttpd-1.4.46 |
|
| #
9030cfae |
| 10-Sep-2017 |
Glenn Strauss <[email protected]> |
[core] SIGCHLD handle_waitpid hook for modules
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 d
[core] SIGCHLD handle_waitpid hook for modules
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.
show more ...
|
| #
8af9e71c |
| 22-May-2017 |
Glenn Strauss <[email protected]> |
[core] allow earlier plugin init for SSL/TLS
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
[core] allow earlier plugin init for SSL/TLS
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)
show more ...
|
|
Revision tags: lighttpd-1.4.45, lighttpd-1.4.44 |
|
| #
cb7ed136 |
| 21-Dec-2016 |
Glenn Strauss <[email protected]> |
[core] new plugin hooks to help isolate SSL
handle_request_env (called on demand by handlers to populate env) handle_connection_accept handle_connection_shut_wr (was handle_connection_close)
[core] new plugin hooks to help isolate SSL
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())
show more ...
|
| #
1adf1df2 |
| 21-Dec-2016 |
Glenn Strauss <[email protected]> |
remove redundant calls to end-of-request hooks
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 ne
remove redundant calls to end-of-request hooks
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.
show more ...
|
|
Revision tags: lighttpd-1.4.43, lighttpd-1.4.42, lighttpd-1.4.41, lighttpd-1.4.40 |
|
| #
cb1a3c62 |
| 22-Jun-2016 |
Glenn Strauss <[email protected]> |
backport mod_deflate to lighttpd 1.4 (fixes #1824, fixes #2753)
lots of fixes and improvements
limitations: see comments at top of mod_deflate.c
missing functionality: encode streaming response
backport mod_deflate to lighttpd 1.4 (fixes #1824, fixes #2753)
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
show more ...
|