OpenResty® 通过 Lua 扩展 NGINX 实现的可伸缩的 Web 平台

ChangeLog 1.2.1

Zoom Quiet , 25 Jun 2012 (created 25 Jun 2012)

Mainline Version 1.2.1.3 - 25 June 2012

Mainline Version 1.2.1.1 - 22 June 2012

  • upgraded the Nginx core to 1.2.1.
  • upgraded Lua Nginx Module to 0.5.2.
    • bugfix: header_filter_by_lua* did not run at all when body_filter_by_lua* was defined at the same time. thanks Tzury Bar Yochay for reporting this issue.
    • feature: added the inclusive option to the cosocket:receiveuntil method to include the delimiter pattern string in the resulting data read. thanks Matthieu Tourne for the patch.
    • optimize: merged two successive Nginx pool allocations in ngx_http_lua_socket_resolve_handler to reduce overhead.
  • upgraded Echo Nginx Module to 0.39.
    • bugfix: Echo Nginx Module's configure directives was not inherited automatically by location if inner blocks.
    • bugfix: the old HTTP 1.0 protocol handling was wrong. we should leave that to the Nginx core and just output responses without a Content-Length response header.
    • bugfix: reading the $echo_it variable outside the echo_foreach_split loop resulted in memory invalid reads and hence segfaults; now it is evaluates to the special not found value. thanks baqs for reporting this.
  • upgraded Postgres Nginx Module to 1.0rc1.
    • bugfix: memory leak might happen if nginx 1.1.14+ was used and (at least) libpq failed to connect to the remote database.
  • upgraded the (optional) no-pool patch to the latest version, 642ae25.
    • bugfix: we should postpone freeing the elts storage for ngx_array_t to ngx_array_destroy when resizing the array because at least the ngx_rewrite module stores external references to the array elements.

See ChangeLog 1.0.15 for change log for ngx_openresty 1.0.15.x.