| #
2925a095 |
| 12-Mar-2023 |
Glenn Strauss <[email protected]> |
[scons] fix static build to include builtin_mods
|
| #
6dd50d1d |
| 13-Feb-2023 |
Glenn Strauss <[email protected]> |
[build] skip build separate modules for built-ins
skip building separate modules for built-in modules
Small modules with minimal dependencies are now built-in to lighttpd. All 12 of these modules h
[build] skip build separate modules for built-ins
skip building separate modules for built-in modules
Small modules with minimal dependencies are now built-in to lighttpd. All 12 of these modules have a memory footprint that is approximately the same as 1 single module built as a .dll due to mandatory minimum binary sections and memory page sizes (4k each).
show more ...
|
|
Revision tags: lighttpd-1.4.69 |
|
| #
14f2d9db |
| 09-Jan-2023 |
Glenn Strauss <[email protected]> |
[build] modify arguments to updated LEMON parser
|
|
Revision tags: lighttpd-1.4.68 |
|
| #
2916573a |
| 08-Dec-2022 |
Glenn Strauss <[email protected]> |
[build] omit unused vector.[ch] from build
(no longer used at the moment)
|
| #
01ffe16e |
| 06-Dec-2022 |
Glenn Strauss <[email protected]> |
[core] build core modules into lighttpd executable
In dynamic build of lighttpd, at runtime each loaded lighttpd module .so takes at least (5) 4k memory pages on x86_64. That is at least 20k per mo
[core] build core modules into lighttpd executable
In dynamic build of lighttpd, at runtime each loaded lighttpd module .so takes at least (5) 4k memory pages on x86_64. That is at least 20k per module. Building 10 small core modules into lighttpd adds less than 16k .text total, and adding mod_fastcgi and mod_scgi totals less than 20k .text (plus an extra 4k .rodata page). The end result is that memory usage is almost the same if only mod_staticfile is used, and 20k or so is saved for each additional module used if among those built into lighttpd executable.
For now, the standalone .so modules continue to be built, even though not used by the lighttpd executable. This is done in order to give distros time to update packaging scripts and transition to not expecting the builtin module artifacts to be produced or installed as part of the distro lighttpd package.
show more ...
|
| #
fcf0dc3e |
| 23-Nov-2022 |
Glenn Strauss <[email protected]> |
[multiple] remove deprecated modules
remove deprecated modules: mod_evasive mod_secdownload mod_uploadprogress mod_usertrack
These scheduled lighttpd behavior changes have been announced ov
[multiple] remove deprecated modules
remove deprecated modules: mod_evasive mod_secdownload mod_uploadprogress mod_usertrack
These scheduled lighttpd behavior changes have been announced over the past year:
* Continue gradual deprecation of "mini-application" lighttpd modules for which mod_magnet lua implementations are better and more flexible. Please post on lighttpd forums to share feedback if you use these modules. Forums: https://redmine.lighttpd.net/projects/lighttpd/boards
* Deprecated: mod_evasive has been removed. mod_evasive can be replaced by mod_magnet and a few lines of lua: Replacement: https://wiki.lighttpd.net/ModMagnetExamples#lua-mod_evasive https://wiki.lighttpd.net/AbsoLUAtion#Fight-DDoS https://wiki.lighttpd.net/AbsoLUAtion#Mod_Security
* Deprecated: mod_secdownload has been removed. mod_secdownload can be replaced by mod_magnet and a few lines of lua: Replacement: https://wiki.lighttpd.net/ModMagnetExamples#lua-mod_secdownload mod_secdownload historically uses insecure MD5 though SHA1, SHA256 available
* Deprecated: mod_uploadprogress has been removed. mod_uploadprogress can be replaced by mod_magnet and a few lines of lua: Replacement: https://wiki.lighttpd.net/ModMagnetExamples#lua-mod_uploadprogress
* Deprecated: mod_usertrack has been removed. mod_usertrack can be replaced by mod_magnet and a few lines of lua: Replacement: https://wiki.lighttpd.net/ModMagnetExamples#lua-mod_usertrack mod_usertrack historically uses insecure MD5.
show more ...
|
|
Revision tags: lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65 |
|
| #
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_*())
|
| #
9357da41 |
| 06-Feb-2022 |
Glenn Strauss <[email protected]> |
[core] sys-setjmp.[ch]
wrap system setjmp or compiler C try/catch mechanism
|
| #
d68fc639 |
| 01-Feb-2022 |
Glenn Strauss <[email protected]> |
[mod_deflate] --with-libdeflate to use libdeflate
configure --with-libdeflate option to use libdeflate (must also configure --enable-mmap for mod_deflate to use libdeflate on input files larger tha
[mod_deflate] --with-libdeflate to use libdeflate
configure --with-libdeflate option to use libdeflate (must also configure --enable-mmap for mod_deflate to use libdeflate on input files larger than 64kB; libdeflate not used on files <= 64kB)
show more ...
|
|
Revision tags: lighttpd-1.4.64 |
|
| #
86c2d309 |
| 06-Dec-2021 |
Glenn Strauss <[email protected]> |
[multiple] remove long-deprecated modules
x-ref: https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated
|
|
Revision tags: lighttpd-1.4.63, lighttpd-1.4.62 |
|
| #
741513ec |
| 09-Nov-2021 |
Glenn Strauss <[email protected]> |
[mod_ssi] merge mod_ssi_expr.c into mod_ssi.c
isolate this ancient relic
|
| #
457362cb |
| 09-Nov-2021 |
Glenn Strauss <[email protected]> |
[mod_ssi] remove mod_ssi parser generator file
|
| #
0f51b372 |
| 02-Nov-2021 |
Glenn Strauss <[email protected]> |
[core] fdevent_fdnode.c separate from fdevent.c
|
| #
7113dcb4 |
| 01-Nov-2021 |
Glenn Strauss <[email protected]> |
[core] merge fdevent impls into fdevent_impl.c
|
| #
ec529177 |
| 01-Nov-2021 |
Glenn Strauss <[email protected]> |
[core] fdevent_impl.c separate from fdevent.c
|
|
Revision tags: lighttpd-1.4.61, lighttpd-1.4.60 |
|
| #
7b615d5d |
| 12-Sep-2021 |
Glenn Strauss <[email protected]> |
[multiple] de-dup file and piped loggers (fixes #3101)
de-dup file and piped loggers for error logs and access logs
x-ref: "RFE: de-dup file and piped loggers" https://redmine.lighttpd.net/issu
[multiple] de-dup file and piped loggers (fixes #3101)
de-dup file and piped loggers for error logs and access logs
x-ref: "RFE: de-dup file and piped loggers" https://redmine.lighttpd.net/issues/3101
show more ...
|
| #
243510db |
| 11-Sep-2021 |
Glenn Strauss <[email protected]> |
[core] fdlog.[ch]; fdevent_*_logger_* -> fdlog_*
code move and rename fdevent_*_logger_*() to fdlog_*()
|
| #
b5cdc958 |
| 06-Aug-2021 |
Glenn Strauss <[email protected]> |
[mod_magnet] expose md and hmac funcs to lua
lighty.c.md("algo", "data") lighty.c.hmac("algo", "secret", "data")
"algo" can be one of: "md5", "sha1", "sha256", "sha512" (as long as lighttpd compile
[mod_magnet] expose md and hmac funcs to lua
lighty.c.md("algo", "data") lighty.c.hmac("algo", "secret", "data")
"algo" can be one of: "md5", "sha1", "sha256", "sha512" (as long as lighttpd compiled w/ crypto lib supporting those algorithms)
lighty.c.digest_eq("digest1", "digest2") - performs a timing-safe, case-insensitive comparison of two hex digests - "digest1" and "digest2" are hex strings (of binary digests) - returns boolean true or false
lighty.c.secret_eq("data1", "data2") - performs a timing-safe comparison of two strings (and attempts to hides differences in string lengths) - "data1" and "data2" are strings - returns boolean true or false
lighty.c.time() - cached time(); seconds since 1 Jan 1970 00:00:00 GMT (faster than os.time())
lighty.c.rand() - generate pseudo-random number
Note: the "lighty.c.*" namespace is EXPERIMENTAL / UNSTABLE In the future, these may be removed, altered, or moved to a different namespace.
show more ...
|
| #
323e03fb |
| 28-Jul-2021 |
Glenn Strauss <[email protected]> |
[core] remove connection_list_append()
merge connection_list_append() into connection_fdwaitqueue_append()
(not converted to singly-linked-list since fdwaitqueue is not expected to be used during n
[core] remove connection_list_append()
merge connection_list_append() into connection_fdwaitqueue_append()
(not converted to singly-linked-list since fdwaitqueue is not expected to be used during normal operation (except extreme overload condition), so use allocated list of pointers (allocated when needed) instead of adding ptr member to (every) allocated struct connection)
remove connections-glue.c remove inclusion of connections.h by non-base files
show more ...
|
| #
29b97353 |
| 22-May-2021 |
Glenn Strauss <[email protected]> |
[mod_secdownload] include algo_hmac.c in mod
algo_hmac.c used only with mod_secdownload, so include algo_hmac.c in mod_secdownload instead of lighttpd executable
|
| #
0fd89187 |
| 22-May-2021 |
Glenn Strauss <[email protected]> |
[mod_vhostdb*] rename http_vhostdb->mod_vhostdb_api
rename http_vhostdb.[ch] -> mod_vhostdb_api.[ch]
|
| #
3538f8f2 |
| 22-May-2021 |
Glenn Strauss <[email protected]> |
[mod_auth*] rename http_auth.* -> mod_auth_api.*
rename http_auth.[ch] -> mod_auth_api.[ch]
|
| #
1a8ac120 |
| 22-May-2021 |
Glenn Strauss <[email protected]> |
[mod_auth,mod_vhostdb] move helper funcs to mods
link http_auth.c into mod_auth link http_vhostdb.c into mod_vhostdb ensure that mod_auth loads before mod_authn_* ensure that mod_vhostdb loads befor
[mod_auth,mod_vhostdb] move helper funcs to mods
link http_auth.c into mod_auth link http_vhostdb.c into mod_vhostdb ensure that mod_auth loads before mod_authn_* ensure that mod_vhostdb loads before mod_vhostdb_*
show more ...
|
| #
86c39754 |
| 22-May-2021 |
Glenn Strauss <[email protected]> |
[core] ck.[ch] - C11 Annex K wrappers
(selected functions; not complete)
(import from one of my development branches from 2016)
define safe_memclear() -> ck_memzero() for transition
|
| #
4f8f83ea |
| 20-May-2021 |
Glenn Strauss <[email protected]> |
[core] move data_{array,integer,string} to array.c
move native data_* types into array.c (the types are already declared in array.h)
The array data structure remains extendable, as is done with dat
[core] move data_{array,integer,string} to array.c
move native data_* types into array.c (the types are already declared in array.h)
The array data structure remains extendable, as is done with data_config (configfile) and data_auth (mod_auth), though array data structure primary uses are at startup (config time) and header parsing. The insertion logic into sorted list can be expensive for large lists, so header parsing might choose a different data structure in the future.
show more ...
|