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

[core] pass fdn to fdevent_sched_close,_unregister

remove issock flag; on _WIN32, select(), WSAPoll() work only on sockets


Revision tags: lighttpd-1.4.68
# d46ae0cc 02-Jan-2023 Glenn Strauss <[email protected]>

[core] wrap server_main_setup_workers w/ HAVE_FORK


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


# 9e47786e 08-Dec-2022 Glenn Strauss <[email protected]>

[core] server_main_setup() variable scoping


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

[core] server_main_setup_workers() separate func

separate function for setup and monitoring of (children) workers


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

[core] server_main_setup_signals() separate func

isolate signal setup into server_main_setup_signals()
(now that libev special-case has been (recently) removed)


# a8998e0b 06-Dec-2022 Glenn Strauss <[email protected]>

[core] reduce M_TOP_PAD to default on small system

reduce M_TOP_PAD to default on small systems to reduce memory usage
(triggers when server.max-connections <= 16)

x-ref:
man mallopt


# 33fd0db9 03-Dec-2022 Glenn Strauss <[email protected]>

[core] remove libev fdevent option (ignore)

lighttpd directly uses native OS event handlers


# e0c1341c 08-Nov-2022 Glenn Strauss <[email protected]>

[core] ignore server.max-worker = 1

treat server.max-worker = 1 as equivalent to server.max-worker = 0,
which is the default (no worker subprocesses).


# 564d8983 01-Oct-2022 Glenn Strauss <[email protected]>

[core] keep sockets w/ server.graceful-restart-bg

always preserve sockets across graceful restart when
server.feature-flags += (server.graceful-restart-bg = "enabled")


Revision tags: lighttpd-1.4.67, lighttpd-1.4.66
# 2e7f0eb5 21-Jun-2022 Glenn Strauss <[email protected]>

[core] clarify server.username = "root" error msg

clarify server.username = "root" error message
clarify server.groupname = "root" error message

Suggest commenting out those directives in lighttpd.

[core] clarify server.username = "root" error msg

clarify server.username = "root" error message
clarify server.groupname = "root" error message

Suggest commenting out those directives in lighttpd.conf if set to root.

Just like any normal unix program, lighttpd runs as the
user/group under which the process was started, unless you run
lighttpd as root and instruct lighttpd to setuid/setgid to a
different user/group (via server.username and server.groupname).
That *different* user/group should not be uid/gid 0, or else they
are not *different* from root and might be a configuration mistake.

x-ref:
https://forum.snapcraft.io/t/lighttpd-snap-reports-all-well-but-doesnt-serve-up-anything/27594/8

show more ...


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

[core] reset internal flags after graceful restart

reset internal socket flags after graceful restart:
re-init srv->socket->sidx and srv_socket->is_ssl
after SIGUSR1 or systemd socket activation

[core] reset internal flags after graceful restart

reset internal socket flags after graceful restart:
re-init srv->socket->sidx and srv_socket->is_ssl
after SIGUSR1 or systemd socket activation

(thx jens-maus)

x-ref:
https://github.com/jens-maus/RaspberryMatic/pull/1847

show more ...


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

[multiple] use buffer_append_char()


# beb029d6 28-Apr-2022 Glenn Strauss <[email protected]>

[mod_magnet] lighty.server.* table w/ new function

(experimental)

(new interfaces are unstable and may change)


# 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_*())


# cc65a21e 18-Feb-2022 Glenn Strauss <[email protected]>

[mod_cgi] cgi.local-redir request_reset thru fnptr

cgi.local-redir call plugins_request_reset through fn ptr

(isolate plugins_* funcs to server;
should not be called directly from plugins/modules)


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

[core] prep server_tag at startup for h2 resp hdr


# 6cd3b5f8 06-Feb-2022 Glenn Strauss <[email protected]>

[multiple] use new sys_setjmp_eval3() interface

wrap system os setjmp or compiler try/catch and access mmap inside
callback to protect against SIGBUS (or _WIN32 EXCEPTION_IN_PAGE_ERROR)


# 25f83b84 05-Feb-2022 Glenn Strauss <[email protected]>

[core] feature flag to allow Range w/ HTTP/1.0

server.feature-flags += ( "http10.range" => "enable" )

The Range request header is HTTP/1.1, not HTTP/1.0.

Intermediate HTTP/1.0 proxies might mishan

[core] feature flag to allow Range w/ HTTP/1.0

server.feature-flags += ( "http10.range" => "enable" )

The Range request header is HTTP/1.1, not HTTP/1.0.

Intermediate HTTP/1.0 proxies might mishandle or incorrectly cache
responses to HTTP/1.1 Range requests, so the default in lighttpd is
to ignore Range requests sent with HTTP/1.0.

This feature flag changes the default if an admin desires to support
dumb HTTP/1.0 clients that might (incorrectly) send Range requests
with HTTP/1.0. Those client really ought to grow HTTP/1.1 support:
add support to receive HTTP/1.1 Transfer-Encoding: chunked responses,
and then those client may safely send HTTP/1.1 Range requests
(and in many cases, also Connection: close).

show more ...


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

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

no need to be allocated (buffer *)


# b6bd11c1 05-Jan-2022 David Carlier <[email protected]>

[core] server.core-files support for solaris (fixes #3135)

server.core-files support for solaris based systems.

- using setpflags and disable process tracing protection for the current process.

(e

[core] server.core-files support for solaris (fixes #3135)

server.core-files support for solaris based systems.

- using setpflags and disable process tracing protection for the current process.

(edited: gstrauss)

x-ref:
"server.core-files support on Solaris based system"
https://redmine.lighttpd.net/issues/3135

show more ...


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

[core] "server.graceful-shutdown-timeout" => 8

default "server.graceful-shutdown-timeout" => 8

previous default 0; disabled, so infinite timeout
configure previous behavior with:
server.feature-f

[core] "server.graceful-shutdown-timeout" => 8

default "server.graceful-shutdown-timeout" => 8

previous default 0; disabled, so infinite timeout
configure previous behavior with:
server.feature-flags += ("server.graceful-shutdown-timeout" => 0)

show more ...


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

[multiple] remove long-deprecated modules

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


# c7c34201 03-Jan-2022 Glenn Strauss <[email protected]>

[build] feature consistency between build types

upate config.h.cmake for missing defines
minor adjustments to other builds for features consistency


# f36908de 01-Jan-2022 Glenn Strauss <[email protected]>

[core] server.core-files support on FreeBSD (fixes #3128)

(thx devnexen)

x-ref:
"server.core-files support on FreeBSD proposal"
https://redmine.lighttpd.net/issues/3128


12345678910>>...15