Hello, folks!
I’m happy to announce that the new stable release of ngx_openresty,
1.0.9.10,
has just been kicked out of door:
This is the first stable release of ngx_openresty that is based on the
Nginx core 1.0.9.
Special thanks go to all our contributors and users for helping make
this
release happen
Here goes the complete change log for this release, as compared to the
last
stable release, 1.0.8.26, released two weeks ago:
- upgraded the Nginx core to 1.0.9.
- applied the epoll_check_stale_wev
patchhttp://mailman.nginx.org/pipermail/nginx-devel/2011-November/001408.htmlto
the Nginx 1.0.9 core. this issue affected
PostgresNginxModule when connecting to a remote PostgreSQL server
over a
slow network. thanks @XX http://weibo.com/u/1878897190. - bugfix:
nginx-1.0.9-variable_header_ignore_no_hash.patchhttps://github.com/agentzh/ngx_openresty/blob/master/patches/nginx-1.0.9-variable_header_ignore_no_hash.patchmight
introduce a memory overflow issue in multi-header variables. thanks
Markus Linnala. - bugfix: fixed the error message length while the ./configure script
fails. - feature: applied a
patchhttps://github.com/agentzh/ngx_openresty/blob/master/patches/nginx-1.0.9-log_escape_non_ascii.patchto
add new directives
log_escape_non_ascii to prevent escaping non-ascii bytes in access
log
variable values. requested by @ http://weibo.com/egis. It can be
turned on and off, and default to on just as the standard Nginx
version. - upgraded DrizzleNginxModule to 0.1.2rc4.
- bugfix: fixed issues with poll, rtsig, and select used by the
Nginx
event model by eliminating the poll syscall performed by
libdrizzle.
This also gives rise to a nice speedup (about 10% in simple
cases).
- bugfix: fixed issues with poll, rtsig, and select used by the
- upgraded LuaNginxModule to 0.3.1rc28.
- feature: added the
ngx.encode_argshttp://wiki.nginx.org/HttpLuaModule#ngx.encode_argsmethod
to encode a Lua code to a URI query string. thanks ӱ (
0597Ϻ http://weibo.com/shrimp0597). - feature:
ngx.location.capturehttp://wiki.nginx.org/HttpLuaModule#ngx.location.captureand
ngx.exec http://wiki.nginx.org/HttpLuaModule#ngx.exec now
supports
the same Lua args table format as in
ngx.encode_argshttp://wiki.nginx.org/HttpLuaModule#ngx.encode_args.
thanks ӱ (0597Ϻ http://weibo.com/shrimp0597). - bugfix: Cache-Control header modification might introduce empty
value headers when using with the standard
ngx_headershttp://wiki.nginx.org/HttpHeadersModulemodule. - feature: added the ctx option to
ngx.location.capturehttp://wiki.nginx.org/HttpLuaModule#ngx.location.capture:
you can now specify a custom Lua table to pass to the subrequest
as its
ngx.ctx http://wiki.nginx.org/HttpLuaModule#ngx.ctx. thanks
@hugozhuhttp://weibo.com/hugozhu
. - bugfix: fixed compatibility with nginx 0.8.54. thanks
@0579Ϻhttp://weibo.com/shrimp0597
.
- feature: added the
- upgraded HeadersMoreNginxModule to 0.16rc4.
- bugfix: Cache-Control header modification might introduce empty
value headers when using with the standard
ngx_headershttp://wiki.nginx.org/HttpHeadersModulemodule.
- bugfix: Cache-Control header modification might introduce empty
- upgraded PostgresNginxModule to 0.9rc2
- bugfix: now we log an error message when the postgres_pass
target
is not found at all and returns 500 in this case instead of
returning empty
response. - bugfix: we should no longer return NGX_AGAIN when the re-polling
returns IO WAIT in case of the “connection made” state. - feature: added some debugging outputs which be enabled by
passing
the --with-debug option while building Nginx or OpenResty. - bugfix: fixed compatibility issues with Nginx 1.1.4+:
ngx_chain_update_chains now requires a pool argument.
- bugfix: now we log an error message when the postgres_pass
- upgraded LuaRdsParserLibrary to 0.04.
- bugfix: fixed a serious memory leak reported by bearnard.
- upgraded XssNginxModule to 0.03rc5.
- bugfix: the callback argument value parser did not accept
JavaScript identifier names started with underscores. thanks Sam
Mulube.
- bugfix: the callback argument value parser did not accept
As always, you’re welcome to report bugs and feature requests either
here
or directly to me
It’ll also be highly appreciated to try out the devel releases (based on
the Nginx core 1.0.10+) that are coming out later
OpenResty (aka. ngx_openresty) is a full-fledged web application server
by
bundling the standard Nginx core, lots of 3rd-party Nginx
moduleshttp://wiki.nginx.org/3rdPartyModules,
as well as most of their external dependencies.
By taking adantage of various well-designed Nginx modules, OpenResty
effectively turns the nginx server into a powerful web app server, in
which
the web developers can use the Lua programming language to script
various
existing nginx C modules and Lua modules and construct extremely
high-performance web applications that is capable to handle 10K+
connections.
OpenResty aims to run your server-side web app completely in the Nginx
server, leveraging Nginx’s event model to do non-blocking I/O not only
with
the HTTP clients, but also with remote backends like MySQL, PostgreSQL,
Memcached, and Redis.
You can find more details on the homepage of ngx_openresty here:
http://openresty.org
Have fun!
-agentzh