summaryrefslogtreecommitdiff
path: root/src/config.h.cmake
Commit message (Collapse)AuthorAgeFilesLines
* [core] use posix_spawn() where availableGlenn Strauss2023-05-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* [core] remove libev fdevent option (ignore)Glenn Strauss2022-12-031-3/+0
| | | | lighttpd directly uses native OS event handlers
* [mod_deflate] --with-libdeflate to use libdeflateGlenn Strauss2022-02-141-0/+3
| | | | | | 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)
* [build] feature consistency between build typesGlenn Strauss2022-01-051-2/+0
|
* [core] server.core-files support for solaris (fixes #3135)David Carlier2022-01-051-0/+2
| | | | | | | | | | | | 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
* [multiple] remove long-deprecated modulesGlenn Strauss2022-01-031-7/+0
| | | | | x-ref: https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated
* [build] feature consistency between build typesGlenn Strauss2022-01-031-32/+66
| | | | | upate config.h.cmake for missing defines minor adjustments to other builds for features consistency
* [core] server.core-files support on FreeBSD (fixes #3128)Glenn Strauss2022-01-011-0/+1
| | | | | | | | (thx devnexen) x-ref: "server.core-files support on FreeBSD proposal" https://redmine.lighttpd.net/issues/3128
* [build] check getxattr before attr_get and -lattrGlenn Strauss2021-12-101-0/+2
| | | | | | | 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)
* [core] pcre2 support (--with-pcre2)Glenn Strauss2021-11-221-2/+2
| | | | | | x-ref: "lighttpd: depends on obsolete pcre3 library" https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000063
* [build] check for preadv(), pwritev()Glenn Strauss2021-10-271-0/+2
|
* [build] check for pread(), pwrite(), splice()Glenn Strauss2021-09-301-0/+2
|
* [multiple] fdevent_mkostemp()Glenn Strauss2021-09-301-0/+1
| | | | | | fdevent_mkostemp() with flags arg so that caller can pass O_APPEND renamed from fdevent_mkstemp_append(), previously always O_APPEND
* [build] propagate HAVE_DLFCN_H in buildsGlenn Strauss2021-09-081-0/+1
|
* [core] periodically malloc_trim() to release mem (fixes #3084)Glenn Strauss2021-09-081-0/+1
| | | | | | x-ref: "Memory fragmentation with HTTP/2 enabled" https://redmine.lighttpd.net/issues/3084
* [build] look for malloc.h and mallopt()Glenn Strauss2021-09-081-0/+2
|
* [build] look for port.h on Solaris, not sys/port.hGlenn Strauss2021-08-271-1/+1
|
* [core] ck.[ch] - C11 Annex K wrappersGlenn Strauss2021-08-271-0/+1
| | | | | | | | (selected functions; not complete) (import from one of my development branches from 2016) define safe_memclear() -> ck_memzero() for transition
* [cmake] update src/config.h.cmakeGlenn Strauss2021-05-081-0/+4
|
* [core] Solaris has getloadavg in sys/loadavg.hNiclas Rosenvik2020-01-301-0/+1
| | | | | | SunOS/Solaris/Illumos has getloadavg declared in sys/loadavg.h . github: closes #101
* [mod_authn_ldap] replace use of deprecated funcsGlenn Strauss2017-11-051-1/+0
| | | | | | [mod_authn_ldap,mod_vhostdb_ldap] replace use of deprecated funcs remove -DLDAP_DEPRECATED
* [cmake] always define _GNU_SOURCEStefan Bühler2016-07-301-0/+4
| | | | first.h only defines _GNU_SOURCE if no config.h is present.
* build with libresslGlenn Strauss2016-05-071-1/+0
| | | | | | | | | | | | | | | | | libressl defines SSL_OP_NO_SSLv2 and SSL_OP_NO_SSLv3 as 0x0 (thx Christian Heckendorf) libressl matches ERR_remove_thread_state() signature from openssl 1.0.2 (libressl pretends that libressl is openssl version 2.0.0, but openssl 1.1.0 changes signature of ERR_remove_thread_state()) libressl does not yet provide compatibility interfaces for the new prototypes introduced in openssl 1.1.0, including DH_set0_pqg() and DH_set_length() remove OPENSSL_NO_KRB5 from build config (added in 5fab991b in 2005) (define USE_OPENSSL_KERBEROS if required) (Note: OPENSSL_NO_KRB5 removed in openssl 1.1.0)
* use libmemcached instead of deprecated libmemcacheStefan Bühler2016-01-031-1/+1
| | | | | | | | Differential Revision: https://review.lighttpd.net/D5 From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3071 152afb58-edef-0310-8abb-c4023f1b3aa9
* [mod_auth] implement and use safe_memclear, using memset_s or explicit_bzero ↵Loganaden Velvindron2015-09-261-2/+6
| | | | | | | | if available From: Loganaden Velvindron <logan@elandsys.com> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3045 152afb58-edef-0310-8abb-c4023f1b3aa9
* [mod_dirlisting] remove sys/syslimits.h; base.h already includes limits.hStefan Bühler2015-08-231-1/+0
| | | | | | From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3024 152afb58-edef-0310-8abb-c4023f1b3aa9
* [cmake] don't put date into config.h (not used anyway), only unset local ↵Stefan Bühler2015-08-221-1/+0
| | | | | | | | vars for disabled features instead of clearing cache From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3017 152afb58-edef-0310-8abb-c4023f1b3aa9
* [mod_auth] use crypt_r instead of crypt if availableStefan Bühler2015-02-121-1/+2
| | | | | | From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2986 152afb58-edef-0310-8abb-c4023f1b3aa9
* print backtrace in assert logging with libunwindStefan Bühler2015-02-071-0/+3
| | | | | | From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2974 152afb58-edef-0310-8abb-c4023f1b3aa9
* add libev fdevent handler: server.event-handler = "libev"Stefan Bühler2010-08-071-0/+3
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2754 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add proper SUID bit detection (fixes #416)Stefan Bühler2009-04-091-0/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2436 152afb58-edef-0310-8abb-c4023f1b3aa9
* [cmake] Fix package version in binaryStefan Bühler2009-02-051-0/+7
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2388 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix configure/cmake defines and checksStefan Bühler2008-12-071-3/+16
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2364 152afb58-edef-0310-8abb-c4023f1b3aa9
* [cmake] Fix ipv6 detectionStefan Bühler2008-12-051-0/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2360 152afb58-edef-0310-8abb-c4023f1b3aa9
* [cmake] Add basic cmake supportStefan Bühler2008-12-051-0/+136
- Not distributed yet (so only available in svn checkout) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2359 152afb58-edef-0310-8abb-c4023f1b3aa9