[ANN] OpenResty 1.7.4.1 RC2 now available for testing

104 views
Skip to first unread message

Yichun Zhang (agentzh)

unread,
Sep 3, 2014, 12:54:06 AM9/3/14
to openresty-en, openresty
Hi folks

I've just kicked out OpenResty 1.7.4.1 RC2 for testing:

http://openresty.org/download/ngx_openresty-1.7.4.1rc2.tar.gz

The highlight of this release is the new "resty" command-line utility.

The complete list of changes since the previous (RC) release, 1.7.4.1 RC1:

* feature: added new command-line utility, "resty", to run Lua
code or Lua files (for OpenResty) directly from the
command-line. it is installed into the "<prefix>/bin" directory.
prodded by Vitaly Kosenko.

* bugfix: "./configure": we might misuse the homebrew version of
LuaJIT on Mac OS X when the user specified the
"--with-ld-opt="-L/usr/local/lib"" option. thanks Aapo
Talvensaari for the report.

* bugfix: "util/install": remove the target file before
overwriting to prevent running processes (if any) from crashing.

* bugfix: "./configure": call "sh" explicitly for nginx's
"./configure" script to prevent potential file permission
issues.

* upgraded the lua-cjson library to 2.1.0.2.

* bugfix: the Makefile had a bug that overwrites the existing
"cjson.so" file in place which could cause already running
processes with this ".so" file loaded to crash. thanks
ywsample for the report.

* upgraded the ngx_lua module to 0.9.12.

* bugfix: init_worker_by_lua*: memory corruptions would happen
when no server {} is defined in nginx.conf. this regression
had appeared in v0.9.11.

* bugfix: the tcp_nodelay directive configuration was not
honored by upstream TCP cosockets, which could lead to extra
delays for small messages. thanks Shun Zhang for reporting
this issue.

* bugfix: fixed build failures with OpenSSL older than 0.9.8f.
thanks FFCZ for the report.

* bugfix: compilation failed with nginx 1.3.6 or older. this
regression had appeared in the v0.9.11 release.

* bugfix: compilation failed with nginx 0.9.x.

* bugfix: our "create_loc_conf" callback did not return NULL
on error.

* bugfix: added allocation failure check for
"ngx_array_init()" on the C land. thanks Tatsuhiko Kubo for
the patch.

* upgraded the ngx_set_misc module to 0.26.

* bugfix: our "create_loc_conf" callback did not return NULL
on error. thanks Markus Linnala for the patch.

* upgraded the ngx_echo module to 0.56.

* bugfix: our "create_loc_conf" callback did not return NULL
on error. thanks Markus Linnala for the patch.

You're very welcome to try out this RC release on your side. Any
feedback will be highly appreciated. Thank you!

If this RC release goes well in the next few days, the corresponding
formal release, 1.7.4.1, will be out later in the next week.

Have fun!
-agentzh

aaashun

unread,
Sep 29, 2014, 3:36:51 AM9/29/14
to open...@googlegroups.com, openre...@googlegroups.com
hi, agentz

I've found a bug while using syslog which will cause crash everytime since openresty-1.7.2.1.

RJoshi

unread,
Sep 29, 2014, 5:22:52 PM9/29/14
to openre...@googlegroups.com, open...@googlegroups.com
I have been using RC2 for almost a month without any issues.  I have used on Mac OSX as well as BeagleBone black (Angstrom). Only external library I needed is uuid which I copied from https://github.com/Tieske/uuid/tree/master/src.  It is apache license.

I really like resty app which allows to execute code independent of nginx.  A minor bug is when ngx.log() is used in code , resty prints , context: ngx.timer at the end, which was confusing initially but is now used to it.
Reply all
Reply to author
Forward
0 new messages