Commit Graph

171 Commits (830d7e05613e554c67fb3bc81b67dad6e1ece72d)

Author SHA1 Message Date
Glenn Strauss 28fc51c747 [build] augment configure.ac msgs to remove FAM (#3068)
augment configure.ac msgs to remove FAM on linux and *bsd

x-ref:
  "stat-cache-fam feature appears disabled since 1.4.56"
  https://redmine.lighttpd.net/issues/3068
2 years ago
Glenn Strauss 457d78c6e1 [build] use -pipe with gcc and clang 2 years ago
Glenn Strauss 5921b2f411 - next is 1.4.60 2 years ago
Glenn Strauss 9211fb3d86 [mod_deflate] support Accept-Encoding: zstd 2 years ago
Glenn Strauss a89e94e0bf [autoconf] fix LT_INIT syntax 2 years ago
Glenn Strauss acca2a3f73 [autotools] autoupdate; subst deprecated/obsolete
autoupdate; subst deprecated/obsolete macros
- s/AC_HELP_STRING/AS_HELP_STRING/
- others
2 years ago
Glenn Strauss 693a29fe91 - next is 1.4.59 2 years ago
Glenn Strauss 5ec5e124c1 [tests] consolidate some tests/ content 2 years ago
Glenn Strauss f8cc9fb915 [core] http_date.[ch] encapsulate HTTP-date parse
http_date.[ch] encapsulate HTTP-date parse/compare

(import from one of my development branches from 2015)
2 years ago
Glenn Strauss b598bb53f9 [tests] remove FastCGI test dependency on PHP 2 years ago
Glenn Strauss fc01b820ec [tests] remove FastCGI test dependency on libfcgi
- rewrite fcgi-responder as standalone app
  fcgi-responder is now a minimal, standalone FastCGI server for tests
- remove dependency on fcgi-devel package
- merge fcgi-auth into fcgi-responder
2 years ago
Glenn Strauss ae77d8ae6e - next is 1.4.58 3 years ago
Glenn Strauss 3579c32295 [core] prefer inet_aton() over inet_addr() 3 years ago
Glenn Strauss afa6595a7b - next is 1.4.57 3 years ago
Glenn Strauss 5e711068e4 [build] check for xxhash in more ways
pkg-config libxxhash.pc might not be provided with xxhash < 0.7.3

x-ref:
  "Update build-dep for xxhash [...]"
  https://salsa.debian.org/debian/lighttpd/-/merge_requests/29
3 years ago
Glenn Strauss 7ce8b22cb2 [build] detect inotify header <sys/inotify.h> 3 years ago
Glenn Strauss 64aff80d86 [build] prepend search for lua version 5.4 3 years ago
Glenn Strauss 07622251b0 [build] option to use system-provided libxxhash
--with-xxhash
3 years ago
Glenn Strauss 7ff2a467c9 [build] fix typo in configure.ac 3 years ago
Glenn Strauss 31a7f0d43c [build] detect nss3/nss.h or nss/nss.h for NSS 3 years ago
Glenn Strauss db7252ec13 [build] fix lib paths for GnuTLS, NSS
(thx dirk)
3 years ago
Glenn Strauss 17d8d9c919 [mod_wolfssl] cripple SNI if not built OPENSSL_ALL
crippled functionality if wolfssl library not built --enable-opensslall
* SNI not handled since SNI callbacks are disabled in wolfSSL library
  unless the wolfSSL library is built with --enable-openssall

  This means that there is only one certificate per listening socket --
  no certificate selection based on server name indication (SNI)
  and is additionally a violation of the HTTP/2 specification,
  which requires SNI.

slightly reduced functionality if wolfssl not built --enable-opensslall
* disable client certificate verification (error out if in lighttpd.conf)
* omit SSL_CIPHER_USEKEYSIZE, SSL_CIPHER_ALGKEYSIZE env vars
3 years ago
Glenn Strauss 8f31ed7fe1 [build] use pkg-config with wolfssl 3 years ago
Glenn Strauss a46f519eb2 [multiple] use NSS crypto if no other crypto avail
use NSS crypto if no other crypto avail, but NSS crypto is available

"NSS crypto support" is not included in tests/LightyTest.pm:has_crypto()
due to NSS libraries (freebl3) lacking public export for HMAC funcs
3 years ago
Glenn Strauss c3a85c9bf5 [mod_wolfssl] standalone module
standalone module forked from mod_openssl
3 years ago
Glenn Strauss ceddd40ad6 [build] fix typo in option description for wolfSSL
(thx avij)
3 years ago
Glenn Strauss 5a694281da [core] ls-hpack optimizations
define LSHPACK_DEC_HTTP1X_OUTPUT 0
  lighttpd does not require HTTP/1.1 output compat from HPACK decoder
  ("field-name: value\r\n")

define NDEBUG (in ls-hpack/lshpack.c)
  lighttpd spends upwards of 20% total lighttpd CPU time in HPACK
  encode/decode in h2load test on static file over cleartext (not TLS)
  Defining NDEBUG eliminates some asserts() and results in a small
  but measurable reduction in CPU usage
3 years ago
Glenn Strauss 70b1af0640 [core] link in ls-hpack (EXPERIMENTAL)
LiteSpeed ls-hpack v2.2.1

XXX: might be better to include this as a git submodule
but minor code changes were made here for portability:
- C99 flexible array members defined as a[] instead of a[0])
- pedantic compiler warnings (excess ';' and missing declarations)
- deletion of large tables from ls-hpack/huff-tables.h (code size)
3 years ago
Glenn Strauss bc5d4b3492 [mod_compress] remove mod_compress 3 years ago
Glenn Strauss f47ffb438c [build] bzip2 default to not-enabled in build
./configure --with-bzip2 to enable

(autoconf build previously had bzip2 enabled by default, but bzip2
 already disabled by default in CMake, SCONS, and meson build configs)
3 years ago
Glenn Strauss 8d5e237c60 [mod_deflate] Brotli support
configuration option: ./configure --with-brotli
3 years ago
Glenn Strauss fed2ecae19 [mod_authn_dbi] authn backend employing DBI 3 years ago
Glenn Strauss e00deb5578 [mod_nss] NSS option for TLS (fixes #1218)
(experimental)

WARNING: EXPERIMENTAL code sketch; mod_nss is INCOMPLETE and UNTESTED

mod_nss supports most ssl.* config options supported by mod_openssl

x-ref:
  "alternate ssl backend"
  https://redmine.lighttpd.net/issues/1218
3 years ago
Glenn Strauss 68387462e0 [build] point ./configure --help to support forum
./configure --help will point people to the support forums, as the vast
majority of "bugs" filed are support requests. The lighttpd homepage
(https://www.lighttpd.net/) sidebar links "bugs" to
"https://redmine.lighttpd.net/projects/lighttpd/issues"
3 years ago
Glenn Strauss bf4054f8ec [mod_gnutls] GnuTLS option for TLS (fixes #109)
(experimental)

mod_gnutls supports most ssl.* config options supported by mod_openssl

x-ref:
  "GnuTLS support for the mod_ssl"
  https://redmine.lighttpd.net/issues/109
3 years ago
Glenn Strauss 455dc03778 [core] prefer getxattr() instead of get_attr()
(when lighttpd is built ./configure --with-attr)
3 years ago
Glenn Strauss cb753ec5b5 [mod_mbedtls] mbedTLS option for TLS
(experimental)

mod_mbedtls supports most ssl.* config options supported by mod_openssl

thx Ward Willats for the initial discussion and attempt in the comments
  https://redmine.lighttpd.net/boards/3/topics/7029
3 years ago
Glenn Strauss b28a3714c4 [multiple] ./configure --with-nettle to use Nettle
./configure --with-nettle to use Nettle crypto lib for algorithms,
instead of OpenSSL or wolfSSL.  Note: Nettle does not provide TLS.

x-ref:
  "How to use SHA-256 without OpenSSL?"
  https://redmine.lighttpd.net/boards/2/topics/8903
3 years ago
Glenn Strauss 0d62b8657b [mod_webdav] use copy_file_range() if available 3 years ago
Glenn Strauss 2230b08ef4 - next is 1.4.56 3 years ago
Niclas Rosenvik 8c9b5480f3 [core] Solaris has getloadavg in sys/loadavg.h
SunOS/Solaris/Illumos has getloadavg declared in sys/loadavg.h .

github: closes #101
3 years ago
Glenn Strauss e790203a75 [build] PGSQL_CFLAGS with pkg-config for postgres (#2965)
x-ref:
  "pg_config is deprecated to build postgres client applications"
  https://redmine.lighttpd.net/issues/2965
4 years ago
Glenn Strauss 3eff9bac4e [build] prefer pkg-config for postgres (fixes #2965)
x-ref:
  "pg_config is deprecated to build postgres client applications"
  https://redmine.lighttpd.net/issues/2965
4 years ago
Stefan Bühler 79760d935a Use explicit_memset from NetBSD if available for safe_memclear (fixes #2971) 4 years ago
Glenn Strauss 51a46f0211 - next is 1.4.55 4 years ago
Glenn Strauss 4ac239c401 [mod_maxminddb] MaxMind GeoIP2 support 4 years ago
Glenn Strauss 52c489837f [build] detect FreeBSD elftc_copyfile() 4 years ago
yangfl 6962fc2a5a [mod_webdav] fix uuid detection macro
github: #97

x-ref:
  https://github.com/lighttpd/lighttpd1.4/pull/97
4 years ago
Glenn Strauss 2f46736edc [build] remove -Wdeclaration-after-statement
Declarations after statements has been permitted since C99.
(That was 20 years ago!)
4 years ago
Glenn Strauss 40ded06b08 - next is 1.4.54 4 years ago