Nginx 1.7.11 发布,主要增加线程池,代理请求缓存等功能

jopen 10年前

nginx-1.7.11 开发版已经发布了,Nginx 1.7.11新特性:主要增加线程池,代理请求缓存等功能。

(1)AIO指令中的sendfile参数废除,现在Nginx可以自动自动使用aio.
(2)实验性的线程池支持。
(3)新的"proxy_request_buffering", "fastcgi_request_buffering", "scgi_request_buffering","uwsgi_request_buffering"指令。
(4)请求体过滤实验性API.
(5)Mail Proxy中的客户端SSL认证支持。
(6)当upstream块中使用hash ... consistent时启动速度加快。
(7)调试记录可以存在循环的内存缓存中。及其他Bug修正。 

详情请看:

    *) Change: the "sendfile" parameter of the "aio" directive is
       deprecated; now nginx automatically uses AIO to pre-load data for
       sendfile if both "aio" and "sendfile" directives are used.

    *) Feature: experimental thread pools support.

    *) Feature: the "proxy_request_buffering", "fastcgi_request_buffering",
       "scgi_request_buffering", and "uwsgi_request_buffering" directives.

    *) Feature: request body filters experimental API.

    *) Feature: client SSL certificates support in mail proxy.
       Thanks to Sven Peter, Franck Levionnois, and Filipe Da Silva.

    *) Feature: startup speedup when using the "hash ... consistent"
       directive in the upstream block.
       Thanks to Wai Keen Woon.

    *) Feature: debug logging into a cyclic memory buffer.

    *) Bugfix: in hash table handling.
       Thanks to Chris West.

    *) Bugfix: in the "proxy_cache_revalidate" directive.

    *) Bugfix: SSL connections might hang if deferred accept or the
       "proxy_protocol" parameter of the "listen" directive were used.
       Thanks to James Hamlin.

    *) Bugfix: the $upstream_response_time variable might contain a wrong
       value if the "image_filter" directive was used.

    *) Bugfix: in integer overflow handling.
       Thanks to Régis Leroy.

    *) Bugfix: it was not possible to enable SSLv3 with LibreSSL.

    *) Bugfix: the "ignoring stale global SSL error ... called a function
       you should not call" alerts appeared in logs when using LibreSSL.

    *) Bugfix: certificates specified by the "ssl_client_certificate" and
       "ssl_trusted_certificate" directives were inadvertently used to
       automatically construct certificate chains.