高性能 Web 服务器,lighttpd 1.4.38 发布

jopen 8年前

Lighttpd 是一个德国人领导的开源Web服务器软件,其根本的目的是提供一个专门针对高性能网站,安全、快速、兼容性好并且灵活的web server环境。具有非常低的内存开销,cpu占用率低,效能好,以及丰富的模块等特点。

Lighttpd是众多OpenSource轻量级的web server中较为优秀的一个。支持FastCGI, CGI, Auth, 输出压缩(output compress), URL重写, Alias等重要功能,而Apache之所以流行,很大程度也是因为功能丰富,在lighttpd上很多功能都有相应的实现了,这点对于apache的用 户是非常重要的,因为迁移到lighttpd就必须面对这些问题。

lighttpd 1.4.38 发布,此版本值得关注的改进:

  • mod_secdownload now requires an algorithm option to be set
  • fix a header parse bug (#2670)
  • sendfile support for darwin (just select “sendfile” as backend)

下载

  • lighttpd-1.4.38.tar.gz (GPG signature)
    • SHA256: eb3c689f83ee3545dc688d99e36011b28145a1727bb6d17c94c5ed6684edcdd1
    </li>
  • lighttpd-1.4.38.tar.xz (GPG signature)
    • SHA256: 4912568b7befcf3f552ca4668bd7f38cd85f42a22944359d00816ec27eb1e504
    • </ul> </li>
    • SHA256 checksums
    • </ul>

      相比 1.4.37 改进列表

      • [stat-cache] fix handling of collisions, might have returned wrong data (fixes #2669)
      • [core] allocate at least 4k buffer for incoming data
      • [core] fix search for header end if split across chunks (fixes #2670)
      • [core] check configparserAlloc() result with force_assert
      • [mod_auth] implement and use safe_memclear, using memset_s or explicit_bzero if available (thx loganaden)
      • [core] don’t buffer request bodies smaller than 64k on disk
      • add force_assert for many allocations and function results
      • [mod_secdownload] use a hopefully constant time comparison to check hash (fixes #2679)
      • [config] check config option scope; warn if server option is given in conditional
      • [core] revert increase of temp file size back to 1MB, provide a configure option “server.upload-temp-file-size” instead (fixes #2680)
      • [core] add ‘~’ to safe characters in ENCODING_REL_URI/ENCODING_REL_URI_PART encoding
      • [core] encode path with ENCODING_REL_URI in redirect to directory (fixes #2661, thx gstrauss)
      • [mod_secdownload] add required algorithm option; old behaviour available as “md5”, new options “hmac-sha1” and “hmac-sha256”
      • [mod_fastcgi/mod_scgi] zero sockaddr structs before use (fixes #2691, thx Kyle J. McKay)
      • [network] add darwin-sendfile backend (fixes #2687, thx Kyle J. McKay)
      • [core] show correct crypt support result (fixes #2690, thx Kyle J. McKay)

      更多内容请看发行说明