[ANN] ngx_openresty devel version released

agentzh agentzh at gmail.com
Sun Oct 14 19:56:43 UTC 2012

Hi, guys!

I am happy to announce the new development version of ngx_openresty,


Special thanks go to all our contributors and users for helping make this

Below is the complete change log for this release, as compared to the last
(stable) release,

 *   upgraded the Nginx core to 1.2.4.

     *   see <http://nginx.org/en/CHANGES-1.2> for changes.

 *   upgraded LuaNginxModule to 0.7.1.

     *   feature: implemented the "light threads" API, which allows
         asynchronous concurrent processing within a single Nginx
         request handler, based on automatically-scheduled Lua
         coroutines. thanks Lee Holloway for requesting this feature.

         *   <http://wiki.nginx.org/HttpLuaModule#ngx.thread.spawn>

         *   <http://wiki.nginx.org/HttpLuaModule#ngx.thread.wait>

     *   bugfix: ngx.re.gsub() might throw out the exception "attempt
         to call a string value" when the "replace" argument was a
         Lua function and the subject string was large. thanks Zhu
         Maohai for reporting this issue.

     *   bugfix: older gcc versions might issue warnings like
         "variable 'nrets' might be clobbered by 'longjmp' or
         'vfork'", like gcc 3.4.3 (for Solaris 11) and gcc 4.1.2 (for
         Red Hat Linux). thanks Wenhua Zhang for reporting this

     *   docs: added a warning for ngx.var.VARIABLE that memory is
         allocated in the per-request memory pool. thanks lilydjwg.

     *   docs: made it clear why "return" is recommended to be used
         with ngx.exit(). thanks Antoine.

     *   docs: massive wording improvements from Dayo.

 *   now we add SrcacheNginxModule before both LuaNginxModule and
     HeadersMoreNginxModule so that the former's output filter runs
     *after* those of the latter's.

The HTML version of the change log with some helpful hyper-links can
be browsed here:


OpenResty (aka. ngx_openresty) is a full-fledged web application server by
bundling the standard Nginx core, lots of 3rd-party Nginx modules and Lua
libraries, as well as most of their external dependencies. See OpenResty's
homepage for details:


We have been running extensive testing on our Amazon EC2 test cluster and
ensure that all the components (including the Nginx core) play well
together. The latest test report can always be found here:



More information about the nginx mailing list