History log of /lighttpd1.4/src/plugin_config.h (Results 1 – 24 of 24)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: lighttpd-1.4.69, lighttpd-1.4.68, lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65
# 2a7d3a27 10-May-2022 Glenn Strauss <[email protected]>

[multiple] rename status_counter -> plugin_stats


# 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


# 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


# 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
# c378e3ad 23-Nov-2021 Glenn Strauss <[email protected]>

[core] allocate pcre output vector on demand

allocate pcre output vector on demand for saved config captures
(similar to what is done in lighttpd for pcre2 support)


# 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 ...


Revision tags: lighttpd-1.4.61, lighttpd-1.4.60
# 4d99d9b7 22-Sep-2021 Glenn Strauss <[email protected]>

[multiple] check feature flags funcs; code reuse

config_feature_bool()
config_feature_int()


# 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 ...


# d5366c0a 09-Jun-2021 Glenn Strauss <[email protected]>

[core] request_config_reset()

move configfile.c:config_reset_config()
to reqpool.c:request_config_reset()


# 19bc8885 15-Mar-2021 Glenn Strauss <[email protected]>

[multiple] add attrs from gcc -Wsuggest-attribute=


Revision tags: lighttpd-1.4.59
# cf3e3012 28-Jan-2021 Glenn Strauss <[email protected]>

[core] tighten struct data_config and related code

tighten struct data_config and config_cond_info
create config key at startup and reuse for debug/trace
separate routine for configparser_parse_cond

[core] tighten struct data_config and related code

tighten struct data_config and config_cond_info
create config key at startup and reuse for debug/trace
separate routine for configparser_parse_condition()
separate routine for configparser_parse_else_condition()

show more ...


# 0045b9aa 26-Jan-2021 Glenn Strauss <[email protected]>

[core] const data_unset *array_get_element_klen()

return (const data_unset *) from array_get_element_klen();
use array_get_data_unset() for non-const (note: marked attribute cold)


Revision tags: 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
# d6f692f1 17-Oct-2020 Glenn Strauss <[email protected]>

[core] config_plugin_value_to_int32()


# 5f7bf472 21-Jul-2020 Glenn Strauss <[email protected]>

[core] server.feature-flags extensible config

server.feature-flags = ("server.xxxx" => "enable")


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 ...


# fda01e33 14-Dec-2019 Glenn Strauss <[email protected]>

[core] support multiple error logs

e.g. different server.errorlog for different virtual hosts

Also, support different server.breakagelog to have separate script
error logs, applicable to mod_cgi an

[core] support multiple error logs

e.g. different server.errorlog for different virtual hosts

Also, support different server.breakagelog to have separate script
error logs, applicable to mod_cgi and mod_ssi exec.

show more ...


# e50aa1b0 08-Dec-2019 Glenn Strauss <[email protected]>

[core] (minor) config_plugin_keys_t data packing


# 03b4c993 08-Dec-2019 Glenn Strauss <[email protected]>

[multiple] generic config array type checking


# 50bdb55d 26-Nov-2019 Glenn Strauss <[email protected]>

[multiple] connection hooks no longer get (srv *)

(explicit (server *) not passed; available in con->srv)


# 010c2894 25-Nov-2019 Glenn Strauss <[email protected]>

[multiple] prefer (connection *) to (srv *)

convert all log_error_write() to log_error() and pass (log_error_st *)

use con->errh in preference to srv->errh (even though currently same)

avoid passi

[multiple] prefer (connection *) to (srv *)

convert all log_error_write() to log_error() and pass (log_error_st *)

use con->errh in preference to srv->errh (even though currently same)

avoid passing (server *) when previously used only for logging (errh)

show more ...


# c193da34 21-Nov-2019 Glenn Strauss <[email protected]>

[core] split cond cache from cond matches


# 5977ce2b 21-Nov-2019 Glenn Strauss <[email protected]>

[core] isolate use of data_config, configfile.h