阅读更多

3顶
2踩

非技术

原创新闻 lighttpd 1.4.20发布

2008-09-30 11:50 by 见习编辑 robbin 评论(3) 有8559人浏览
9月30日lighttpd 1.4.20版本发布了。lighttpd不用多介绍了,现在非常流行的轻量级Web服务器,提供良好的Ruby on Rails,PHP和Python的FastCGI/SCGI运行方式的支持。

lighttpd1.4.20版本是1.4.x系列的最新的维护版本,修复了从1.4.19以来大量的小bug,也是目前lighttpd最稳定最好的版本,推荐升级。这个版本比较关注的bug修复是一些HTTP不规范的400请求造成的内存泄漏问题以及SSL处理的问题造成的DOS攻击。以下是详细更新记录:
引用

    *  Fix mod_compress to compile with old gcc version (#1592)
    * Fix mod_extforward to compile with old gcc version (#1591)
    * Update documentation for #1587
    * Fix #285 again: read error after SSL_shutdown (thx marton.illes@balabit.com) and clear the error queue before some other calls (CVE-2008-1531)
    * Fix mod_magnet: enable “request.method” and “request.protocol” in lighty.env (#1308)
    * Fix segfault for appending matched parts if there was no regex matching (just give empty strings) (#1601)
    * Use data_response_init in mod_fastcgi x-sendfile handling for response.headers, fix a small “memleak” (#1628)
    * Don’t send empty Server headers (#1620)
    * Fix conditional interpretation of core options
    * Enable escaping of % and $ in redirect/rewrite; only two cases changed their behaviour: “%” => “”, ”$$” => ”$”
    * Fix accesslog port (should be port from the connection, not the “server.port”) (#1618)
    * Fix mod_fastcgi prefix matching: match the prefix always against url, not the absolute filepath (regardless of check-local)
    * Overwrite Content-Type header in mod_dirlisting instead of inserting (#1614), patch by Henrik Holst
    * Handle EINTR in mod_cgi during write() (#1640)
    * Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx (#1639)
    * Fix mod_magnet to set con->mode = p->id if it generates content, so returning 4xx/5xx doesn’t append an error page
    * Remove lighttpd.spec* from source, fixing all problems with it ;-)
    * Do not rely on PATH_MAX (POSIX does not require it) (#580)
    * Disable logging to access.log if filename is an empty string
    * Implement a clean way to open /dev/null and use it to close stdin/out/err in the needed places (#624)
    * merge spawn-fcgi changes from trunk (from @2191)
    * let spawn-fcgi propagate exit code from spawned fcgi application
    * close connection after redirect in trigger_b4_dl (thx icy)
    * close connection in mod_magnet if returned status code
    * fix bug with IPv6 in mod_evasive (#1579)
    * fix scgi HTTP/1.* status parsing (#1638), found by met@uberstats.com
    * [tests] fixed system, use foreground daemons and waitpid
    * [tests] removed pidfile from test system
    * [tests] fixed tests needing php running (if not running on port 1026, search php in env[PHP] or /usr/bin/php-cgi)
    * fixed typo in mod_accesslog (#1699)
    * replaced buffer_{append,copy}_string with the _len variant where possible (#1732) (thx crypt)
    * case insensitive match for secdownload md5 token (#1710)
    * Handle only HEAD, GET and POST in mod_dirlisting (same as in staticfile) (#1687)
    * fixed mod_secdownload problem with unsigned time_t (#1688)
    * handle EAGAIN and EINTR for freebsd sendfile (#1675)
    * Use filedescriptor 0 for mod_scgi spawn socket, redirect STDERR to /dev/null (#1716)
    * fixed round-robin balancing in mod_proxy (#1715)
    * fixed EINTR handling for waitpid in mod_fastcgi
    * mod_{fast,s}cgi: overwrite environment variables (#1722)
    * inserted many con->mode checks; they should prevent two modules to handle the same request if they shouldn’t (#631)
    * fixed url encoding to encode more characters (#266)
    * allow digits in [s]cgi env vars (#1712)
    * fixed dropping last character of evhost pattern (#161)
    * print helpful error message on conditionals in global block (#1550)
    * decode url before matching in mod_rewrite (#1720)
    * fixed conditional patching of ldap filter (#1564)
    * Match headers case insensitive in response (removing of X-{Sendfile,LIGHTTPD-*}, catching Date/Server)
    * fixed bug with case-insensitive filenames in mod_userdir (#1589), spotted by “anders1”
    * fixed format string bugs in mod_accesslog for SYSLOG
    * replaced fprintf with log_error_write in fastcgi debug
    * fixed mem leak in ssi expression parser (#1753), thx Take5k
    * hide some ssl errors per default, enable them with debug.log-ssl-noise (#397)
    * do not send content-encoding for 304 (#1754), thx yzlai
    * fix segfault for stat_cache(fam) calls with relative path (without ’/’, can be triggered by x-sendfile) (#1750)
    * fix splitting of auth-ldap filter
    * workaround ldap connection leak if a ldap connection failed (restarting ldap)
    * fix auth.backend.ldap.bind-dn/pw problems (only read from global context for temporary ldap reconnects, thx ruskie)
    * fix memleak in request header parsing (#1774, thx qhy)
    * fix mod_rewrite memleak/endless loop detection (#1775, thx phy – again!)
    * use decoded url for matching in mod_redirect (#1720)
3
2
评论 共 3 条 请登录后发表评论
3 楼 jackiezy 2008-10-01 23:16
javaeye现在用的就是lighttpd/1.4.20版本吧?
2 楼 qubic 2008-10-01 00:26
终于升级了,最近一年更新速度不如nginx
1 楼 weiqingfei 2008-09-30 14:13
1.5是不是死在胎里了?

发表评论

您还没有登录,请您登录后再发表评论

相关推荐

  • Visual C++开发数据库应用程序

    用Visual C++开发数据库应用程序

  • 如何用VisualC++6.0创建一个数据库和表

     如果是使用Access的.mdb数据库,可以使用CDaoDatabase::Create建立数据库,然后使用CDaoTableDef::Create来建立表,使用CDaoTableDef::CreateField来添加表的数据字段。在VC++帮助的CDaoTableDef::CreateField部分可以找到各种字段的定义。     下面是建立一个表的例子:     CDaoDatabase d

  • 《数据库系统》课程之实验七 通过ODBC/JDBC转移异构数据库中数据

    《数据库系统》课程之实验七 通过ODBC/JDBC转移异构数据库中数数据,学会配置ODBC/JDBC数据源,熟悉使用ODBC/JDBC来进行数据库应用程序的设计,熟悉通过ODBC/JDBC接口访问异构数据库并对异构数据库进行操作。

  • 探索之旅:用C++打造你的专属简易数据库

    探索之旅:用C++打造你的专属简易数据库 项目地址:https://gitcode.com/KCNyu/db_tutorial_cpp 在技术的浩瀚星海中,数据库技术无疑是那颗璀璨夺目的星辰,它支撑着互联网世界的庞大信息体系。今天,我们为你呈现一个特别的开源项目——基于C++实现的简易数据库教程实践,源自于对经典的cstack/db_tutorial的深入学习与创新,由KCNyu诚意奉献。 ???? 项...

  • 在C++中的ODBC API数据库编程

     一、动态加载数据源1、通过修改注册表加载数据源:·用户数据源:HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI·系统数据源:HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI对于不同类型的数据源,注册表的修改也不同,但基本上要修改两个地方,一个是在ODBC.INI子键下建立一个与数据源描述名同名的子键,并在该子键下建

  • ODBC学习笔记—SQLSetStmtAttr

    SQLGetConnectAttr 函数定义: SQLRETURN SQLGetConnectAttr(      SQLHDBC     ConnectionHandle,      SQLINTEGER     Attribute,      SQLPOINTER     ValuePtr,      SQLINTEGER     BufferLength,      SQLIN

  • 使用ODBC建立数据库应用程序(转)

    使用ODBC建立数据库应用程序: 我在前面两章介绍了一些你会在本章中实际用到的概念。我们做的第一件事是,学习一些ADO,OLE-DB和ODBC理论。此时,假设你决定用ODBC来编写应用程序,而不是用ADO或者OLE-DB。...

  • 数据库访问方式

    数据库访问方式

  • c++开发数据库

    http://blog.csdn.net/smallbasket/article/details/4895551 几种VC++数据库开发技术的比较 从功能简单的数据库(如Jet Engine)到复杂的大型数据库系统(如oracle),VC++6.0都提供了一些编程接口。本文主要介绍以下五种:   1.ODBC API;   2.MFC ODBC类;   3.MFC

  • 用Visual C++开发数据库程序(zzh 原作)

    另外zzh还有一系列的数据库编程文章在网址:http://www.yesky.com/20020318/1602268_8.shtml包含了各种方面的数据库联接,差不多基本上应该是够用的了。正文:用Visual C++开发数据库应用程序EMAIL:zzh1415@21cn.com1、    概述1、1    Visual C++开发数据库技术的特点Visual C++提供了多种多样的数据库访问技术...

  • C/C++通过ODBC连接SqlServer进行查询、插入与删除

    C++通过ODBC连接SqlServer进行查询、插入与删除 需要注意编译器对字符类型的支持 VC6.0版本 VS2013或更高版本 Dev-C++ 5.11 编译器通过ODBC访问数据库情况 VC6.0环境下可使用如下示例: //VC6.0环境 #include<iostream> #include<string> #include<windows.h> ...

  • php访问数据库出错:Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given i

    $result = mysql_query("SELECT * FROM `liebiao` WHERE leixing = '女连衣裙'",$con) or die(mysql_error()); 加上or die(mysql_error()) 看看报错~ ------------------------ mysql_query执行成功就返回资源形变量~否则返回false~所以造成了以上报错~

  • 用Visual C++开发数据库应用程序(一)

    用Visual C++开发数据库应用程序(一) 1、 概述 1、1 Visual C++开发数据库技术的特点 Visual C++提供了多种多样的数据库访问技术——ODBC API、MFC ODBC、DAO、OLE DB、ADO等。这些技术各有自己的特点,它们提供了简单、灵活、访问速度快、可扩展性好的开发技术。 简单性 Visual C++中提供了MFC类库、ATL模板类以及AppWizard、C

  • 达梦数据库通过使用odbc访问sqlserver

    这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入 欢迎使用Markdown编辑器 你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar

  • 数据库编程之ODBC编程

    ODBC优点 移植性好 能同时访问不同的数据库 共享多个数据资源 ODBC概述 ODBC产生的原因 由于不同的数据库管理系统的存在,在某个关系数据库管理系统下编写的应用程序就不能在另一个关系数据库管理系统下运行 许多应用程序需要共享多个部门的数据资源,访问不同的关系数据库管理系统 ODBC 是微软公司开放服务体系(Windows Open Services Architecture,WOSA)中有关数据库的一个组成部分 提供了一组访问数据库的应用程序编程接口(Application Programming

  • ODBC接口规范

    第1章 ODBC API基础 1.1 ODBC API句柄 ODBC API 实现数据库操作的手段是句柄。在ODBC中,使用不同的句柄(HANDLE)来标志环境(environment)、连接(Connection)、语句(statement)、描述符(description)等。句柄是一个应用程序变量,系统用它来存储关于应用程序的上下文信息和应用程序所用到的一些对象。...

  • VC++实现批量大容量快速插入SqlServer数据库

    1. 概述 使用c++访问数据库的方法很多,由于我访问的是sqlserver数据库,于是上MSDN查了一下有哪些访问技术,主要有以下几种: ODBC  OLEDBADO ADO是OLEDB的封装,使用起来比OLEDB方便。由于ADO比OLEDB多了一层,其速度可能不及OLEDB,所以就不考虑ADO了。 数据库获取方法参考MSDN:https://msdn.microso

  • Visual Studio工程实践开发 C++

    Visual Studio工程实践开发 C++

Global site tag (gtag.js) - Google Analytics