The release of the lightweight HTTP server lighttpd 1.4.60 has taken place. The new version features 437 changes, mainly related to bug fixes and optimizations.
Key innovations:
- Support for the Range header (RFC-7233) has been added for all non-streaming responses (previously, Range was only supported for serving static files).
- Optimizations have been made to the HTTP/2 protocol implementation, reducing memory consumption and speeding up the processing of heavily sent initial requests.
- Efforts have been made to reduce memory consumption.
- Performance improvements for Lua in the mod_magnet module have been implemented.
- Performance enhancements have been made to the mod_dirlisting module, along with the addition of an option for caching configuration.
- In mod_dirlisting, mod_ssi, and mod_webdav, limits have been added to prevent excessive memory consumption under extreme loads.
- Backend-side timeout limits have been added for the execution of connect(), write(), and read() calls.
- A restart mechanism has been ensured if a significant time offset of the system clocks is detected (leading to issues with TLS 1.3 on embedded systems).
- The default timeout for connections to the backend is set to 8 seconds (which can be changed in the settings).
An additional warning has been issued regarding changes in behavior and some default settings. These changes are expected to take effect in early 2022.
- The default timeout for graceful restart/shutdown operations is planned to be reduced from infinite to 5 seconds. The timeout can be configured using the 'server.graceful-shutdown-timeout' option.
- The build with libev and FAM will be deprecated in favor of native operating system interfaces for event loop handling and change tracking in the filesystem (epoll() and inotify() in Linux, kqueue() in *BSD).
- Modules mod_compress (should use mod_deflate), mod_geoip (should use mod_maxminddb), mod_authn_mysql (should use mod_authn_dbi), mod_mysql_vhost (should use mod_vhostdb_dbi), mod_cml (should use mod_magnet), and mod_flv_streaming will be deprecated and removed in future releases.
Source: opennet.ru
