History log of /lighttpd1.4/src/configfile.c (Results 1 – 25 of 252)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: lighttpd-1.4.69
# 25f5085a 09-Jan-2023 Glenn Strauss <[email protected]>

[multiple] spelling: github action check-spelling


Revision tags: lighttpd-1.4.68
# 70516297 19-Dec-2022 Glenn Strauss <[email protected]>

[core] ignore config dir-listing.* if not enabled


# 5e14db43 10-Dec-2022 Glenn Strauss <[email protected]>

[multiple] employ ck_calloc, ck_malloc shared code

employ ck_calloc(), ck_malloc() shared code to slightly reduce code size
(centralize the ck_assert() to check that memory allocation succeeded)


# 8626edfa 08-Dec-2022 Glenn Strauss <[email protected]>

[core] use data_config_list for config

use data_config_list for config, replacing generated vector_config_weak


Revision tags: lighttpd-1.4.67, lighttpd-1.4.66
# c051df6a 12-Jun-2022 Glenn Strauss <[email protected]>

[core] do not load indexfile, dirlisting if unused

do not load mod_indexfile or mod_dirlisting unless used and enabled
(avoid loading some default modules unless used and enabled)


Revision tags: lighttpd-1.4.65
# 33f73b4d 26-May-2022 Glenn Strauss <[email protected]>

[multiple] application/javascript text/javascript

translate MIME type "application/javascript" to "text/javascript"

(if required, type may still be overwritten by mod_setenv or mod_magnet)

x-ref:

[multiple] application/javascript text/javascript

translate MIME type "application/javascript" to "text/javascript"

(if required, type may still be overwritten by mod_setenv or mod_magnet)

x-ref:
"Updates to ECMAScript Media Types"
https://www.rfc-editor.org/rfc/rfc9239

show more ...


# a6d4a98c 25-May-2022 Glenn Strauss <[email protected]>

[core] use current dir if context->basedir blank


# a01e62bb 24-May-2022 Glenn Strauss <[email protected]>

[core] "url-invalid-utf8-reject" normalization opt

server.http-parseopts "url-invalid-utf8-reject" url normalization option
default: "url-invalid-utf8-reject" => "enable"


# 58e1b61f 10-May-2022 Glenn Strauss <[email protected]>

[core] feature-flag server.metrics-high-precision

server.feature-flags += ("server.metrics-high-precision" => "enable")
(default: "disable")

enables high-resolution timestamps,
currently used for r

[core] feature-flag server.metrics-high-precision

server.feature-flags += ("server.metrics-high-precision" => "enable")
(default: "disable")

enables high-resolution timestamps,
currently used for request start time

This is automatically enabled if mod_accesslog log record format uses
high-resolution format specifiers in the template, but this feature
needs to be enabled if that is not the case and a high-resolution
request start time is desired for use in lua scripts run by mod_magnet,
e.g. to measure time-to-first-byte
https://wiki.lighttpd.net/AbsoLUAtion#Time-to-First-Byte

show more ...


# f2610d23 03-May-2022 Glenn Strauss <[email protected]>

[multiple] use buffer_append_char()


# 19569ab9 20-Apr-2022 Glenn Strauss <[email protected]>

[core] default server.max-keep-alive-requests 1000

change default server.max-keep-alive-requests = 1000 to adjust
to increasing HTTP/2 usage and to web2/web3 application usage

prior default: server

[core] default server.max-keep-alive-requests 1000

change default server.max-keep-alive-requests = 1000 to adjust
to increasing HTTP/2 usage and to web2/web3 application usage

prior default: server.max-keep-alive-requests = 100

show more ...


# b1f7ccd7 15-Apr-2022 Glenn Strauss <[email protected]>

[multiple] limit scope of socket config options

warn if socket config options used only at startup are used outside
global scope or $SERVER["socket"] with '==' condition


# dcb5f231 05-Apr-2022 Glenn Strauss <[email protected]>

[core] convert simple config cond regex to pre/sfx

convert simple config condition regex to prefix/suffix match


# b3e80a13 05-Apr-2022 Glenn Strauss <[email protected]>

[core] tighten config parsing loop


# 39c31278 05-Apr-2022 Glenn Strauss <[email protected]>

[core] prefix (=^), suffix (=$) config conditions (fixes #3153)

x-ref:
"lighttpd.conf conditionals using prefix and suffix matching"
https://redmine.lighttpd.net/issues/3153


# a162fc70 09-Feb-2022 Glenn Strauss <[email protected]>

[core] prep server_tag at startup for h2 resp hdr


# d7a76d10 22-Jan-2022 Glenn Strauss <[email protected]>

[core] parse conf cmds with SHELL or /bin/sh

(thx ryandesign)

Use $SHELL -c to execute commands if SHELL is set and is not set to
/usr/bin/false or /bin/false, else use /bin/sh -c

x-ref:
https:/

[core] parse conf cmds with SHELL or /bin/sh

(thx ryandesign)

Use $SHELL -c to execute commands if SHELL is set and is not set to
/usr/bin/false or /bin/false, else use /bin/sh -c

x-ref:
https://redmine.lighttpd.net/boards/2/topics/10240

show more ...


Revision tags: lighttpd-1.4.64
# bade1c03 07-Jan-2022 Glenn Strauss <[email protected]>

[multiple] remove buffer_init_string()

remove (minor) convenience func; easy to replace


# 10b307bd 07-Jan-2022 Glenn Strauss <[email protected]>

[core] (const char *) for srvconf.modules_dir

no need to be allocated (buffer *)


# 86c2d309 06-Dec-2021 Glenn Strauss <[email protected]>

[multiple] remove long-deprecated modules

x-ref:
https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated


# 492773a2 05-Dec-2021 Glenn Strauss <[email protected]>

[core] fix trace issued for loading mod_auth (fixes #3121)

fix trace issued for loading mod_auth after dynamic modules

x-ref:
"Curious message on startup with version 1.4.63"
https://redmine.li

[core] fix trace issued for loading mod_auth (fixes #3121)

fix trace issued for loading mod_auth after dynamic modules

x-ref:
"Curious message on startup with version 1.4.63"
https://redmine.lighttpd.net/boards/2/topics/10182
"mod_auth warning on startup"
https://redmine.lighttpd.net/issues/3121

show more ...


Revision tags: lighttpd-1.4.63, lighttpd-1.4.62
# 670b3a39 22-Nov-2021 Glenn Strauss <[email protected]>

[core] allocate one fewer cond_match_t, if needed

allocate one fewer cond_match_t in r->cond_match_data, if any are needed


# 7512d82c 22-Nov-2021 Glenn Strauss <[email protected]>

[core] pcre2 support (--with-pcre2)

x-ref:
"lighttpd: depends on obsolete pcre3 library"
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000063


# 6d47d4c6 20-Nov-2021 Glenn Strauss <[email protected]>

[core] use stack w/ pcre_exec unless save captures

use stack w/ pcre_exec unless saving captures from config conditions

reduce memory allocations per request where lighttpd.conf does not
contain ur

[core] use stack w/ pcre_exec unless save captures

use stack w/ pcre_exec unless saving captures from config conditions

reduce memory allocations per request where lighttpd.conf does not
contain url.redirect or url.rewrite rules where replacements reference
a match of the enclosing lighttpd.conf condition (e.g. %0, %1, %2 ...)

move cond_cache_t 'patterncount' to cond_match_t 'captures'
While cond_match_t is no longer sized power-2, it is generally expected
to be used much less frequently than before (which was all the time),
since it is now used only with url.redirect or url.rewrite with
references %0, %1, %2, ...

show more ...


# 7ea2d407 19-Nov-2021 Glenn Strauss <[email protected]>

[core] save config regex captures only if used

save config regex captures separately only if used by url.redirect
or url.rewrite replacement directives within the condition
(or for conditions contai

[core] save config regex captures only if used

save config regex captures separately only if used by url.redirect
or url.rewrite replacement directives within the condition
(or for conditions containing directives from any other module
which calls config_capture() for its directives during init)

keep pointer to match data (cond_match_t *) in r->cond_match[]
rather than cond_match_t to reduce data copying in h2_init_stream().
h2_init_stream() copies the results for already-evaluated conditions
to avoid re-evaluating connection-level conditions for each and every
stream. When conditions are reset, then the pointer in r->cond_match[]
is updated when the condition is re-evaluated. (This all assumes that
HTTP/2 connection-level conditions are not unset or re-evaluated once
HTTP/2 streams begin.)

show more ...


1234567891011