| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
use posix_spawn_file_actions_addclosefrom_np() where available
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use posix_spawn() where available
use posix_spawn_file_actions_addfchdir_np() where available
Using posix_spawn() reduces initial execution overhead of CGI programs;
posix_spawn() is often faster than application code wrapping and calling
traditional fork(),execve().
(history: fdevent.c posix_spawn code based on fdio.c:fdio_ipc_spawn()
from 2015 on one of my unpublished branches. The inability to chdir()
delayed inclusion in lighttpd, as the CGI specification says:
"The current working directory for the script SHOULD be set
to the directory containing the script."
e.g. chdir() to target program directory before CGI execution)
posix_spawn_file_actions_addfchdir_np() is a new(er) extension supported
in glibc 2.29+, musl libc, FreeBSD ≥ 13.1, macOS ≥ 10.15 according to
https://cygwin.com/pipermail/cygwin/2023-April/253505.html
https://cygwin.com/pipermail/cygwin/2023-April/253526.html
https://sourceware.org/bugzilla/show_bug.cgi?id=17405
POSIX Issue 8 plans to include posix_spawn_file_actions_addfchdir():
https://www.austingroupbugs.net/view.php?id=1208
|
|
|
|
| |
use -lws2_32 instead of -lwsock32
|
|
|
|
|
| |
x-ref:
https://redmine.lighttpd.net/issues/3199
|
| |
|
|
|
|
|
|
|
|
| |
(thx giliy)
x-ref:
"[PATCH] --with-pcre2 configured to incorrect path"
https://redmine.lighttpd.net/issues/3190
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
lighttpd directly uses native OS event handlers
|
| |
|
|
|
|
|
|
|
|
|
|
| |
force large file support; ignore --disable-lfs
(already forced in lighttpd meson, CMake, and Scons builds)
x-ref:
"File upload regression with --disable-lfs"
https://redmine.lighttpd.net/issues/3171
|
| |
|
| |
|
|
|
|
| |
(previously defined in src/CMakeLists.txt)
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
|
|
| |
x-ref:
"issues migrating lighttpd mod_mbedtls to mbedtls 3.0.0"
https://github.com/ARMmbed/mbedtls/issues/5331
|
|
|
|
| |
skip some func checks (slow) if expected header does not exist
|
| |
|
|
|
|
| |
sendfilev() is Solaris-specific (and other OS have other alternatives)
|
| |
|
|
|
|
| |
use -fstack-protector-strong if configured with --enable-extra-warnings
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Haiku needs to link to additional lib -lnetwork for socket funcs
(similar to Solaris need for -lsocket -lnsl)
(edited: gstrauss)
x-ref:
"haiku build fix proposal"
https://redmine.lighttpd.net/issues/3136
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
adjust trace for regex-conditionals features to include pcre and pcre2
|
| |
|
|
|
|
|
| |
x-ref:
https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated
|
|
|
|
|
| |
upate config.h.cmake for missing defines
minor adjustments to other builds for features consistency
|
|
|
|
|
|
|
|
| |
(thx devnexen)
x-ref:
"server.core-files support on FreeBSD proposal"
https://redmine.lighttpd.net/issues/3128
|
| |
|
|
|
|
|
|
|
| |
(thx ryandesign)
x-ref:
https://github.com/macports/macports-ports/commit/d636f118f49297c7e35d57444f64021f7ce45bc5
|
|
|
|
|
|
|
| |
check getxattr before attr_get and -lattr;
do not link with -lattr if getxattr is available from glibc
(modern glibc systems do not require libattr-devel build dependency)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(thx arnout)
x-ref:
"Build failure with autotools and gcc 4.8 since version 1.4.60"
https://redmine.lighttpd.net/issues/3116
|
|
|
|
|
|
| |
x-ref:
"lighttpd: depends on obsolete pcre3 library"
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000063
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
fdevent_mkostemp() with flags arg so that caller can pass O_APPEND
renamed from fdevent_mkstemp_append(), previously always O_APPEND
|
|
|
|
|
|
| |
x-ref:
"Memory fragmentation with HTTP/2 enabled"
https://redmine.lighttpd.net/issues/3084
|
| |
|
|
|
|
|
| |
reduce directories under tests
(because automake is sloooow and the fewer dirs, the better)
|