Commit Graph

1313 Commits

Author SHA1 Message Date
Yichun Zhang (agentzh) 2a2c1269b0 bugfix: resty utility: not all the system environments were passed in. 2014-09-10 13:36:27 -07:00
Yichun Zhang (agentzh) b2cc655554 change: resty: print() is now identical to ngx.say(), which is more in line with the std "print" function. thanks Michal Cichra for the original patch in #65. 2014-09-10 13:29:39 -07:00
Yichun Zhang (agentzh) 07913609c6 bugfix: resty: we should check the case when exec() fails. thanks Michal Cichra for the original patch in #65. 2014-09-10 13:24:18 -07:00
Yichun Zhang (agentzh) c7eea80684 updated the test suite for recent changes (for 1.7.4.1rc2). 2014-09-02 21:15:41 -07:00
Yichun Zhang (agentzh) 9a26a0452d upgraded ngx_echo to 0.56. 2014-09-02 20:56:09 -07:00
Yichun Zhang (agentzh) 4fed7a2d05 upgraded ngx_set_misc to 0.26. 2014-09-02 20:53:51 -07:00
Yichun Zhang (agentzh) e2a964d124 upgraded ngx_lua to 0.9.12. 2014-09-02 20:49:17 -07:00
Yichun Zhang (agentzh) 0bfb73764e bugfix: we might misuse the homebrew version of LuaJIT on Mac OS X when the user specified the --with-ld-opt="-L/usr/local/lib". thanks Aapo Talvensaari for the report. 2014-08-30 15:12:46 -07:00
Yichun Zhang (agentzh) 85f9313252 updated tests to reflect recent changes. 2014-08-30 14:56:18 -07:00
Yichun Zhang (agentzh) cf8c075e79 resty: more improvements.
* made ngx.exit() an alias of os.exit().
* made the exit status code right for the wrapper process.
* require at least ngx_lua 0.9.12 to prevent memory bugs in older
  versions.
* suppressed a debugging output line.
2014-08-20 22:02:40 -07:00
Yichun Zhang (agentzh) bb71a30a68 resty: added -I dir for adding dir to Lua module search paths. 2014-08-20 21:45:38 -07:00
Yichun Zhang (agentzh) af058d15db resty: made ngx.say, ngx.print, and print accept the same types of arguments as ngx_lua's default. 2014-08-20 21:22:14 -07:00
Yichun Zhang (agentzh) 59e6665224 resty: made ngx.print, ngx.say, and print return meaninful values; also mocked ngx.flush() and ngx.eof(). 2014-08-20 21:10:18 -07:00
Yichun Zhang (agentzh) fae163cc70 resty: use the nameservers in /etc/resolv.conf; if none, default to google's 2 open DNS servers, 8.8.8.8 and 8.8.4.4. 2014-08-20 21:03:27 -07:00
Yichun Zhang (agentzh) fd1f99ff52 resty: removed the redundant child process reaping code, which also fixes a warning reported by Anton Heryanto. 2014-08-20 20:50:37 -07:00
Yichun Zhang (agentzh) 1140a2fa67 resty: added bug report info to the "resty" utility's usage output. 2014-08-20 15:52:03 -07:00
Yichun Zhang (agentzh) 6f26127d9b resty: made the usage text more concise. 2014-08-20 15:33:33 -07:00
Yichun Zhang (agentzh) 96fc664875 resty: added the -V option. 2014-08-20 15:31:29 -07:00
Yichun Zhang (agentzh) f7e34420c0 resty: more configuration love. 2014-08-20 15:24:57 -07:00
Yichun Zhang (agentzh) 399bdecaef 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. 2014-08-20 14:58:58 -07:00
Yichun Zhang (agentzh) aa33a9e752 dist-check: more tolerant about release numbers. 2014-08-20 14:44:22 -07:00
Yichun Zhang (agentzh) c8b64f9fd4 upgraded ngx_lua to 0.9.12rc1. 2014-08-20 14:43:34 -07:00
Yichun Zhang (agentzh) 1429569342 upgraded lua-cjson to 2.1.0.2. 2014-08-17 22:45:39 -07:00
Yichun Zhang (agentzh) 88f0bdb2ae ./configure: call "sh" explicitly for nginx's ./configure script to prevent weird file permission issues as in #63. 2014-08-17 22:27:20 -07:00
Yichun Zhang (agentzh) 526c35ce2f util/install: rm the target file before overwriting to prevent running process from crashing. 2014-08-17 22:23:00 -07:00
Yichun Zhang (agentzh) 5b6c063ae7 bumped version to 1.7.4.1rc1. 2014-08-16 14:45:41 -07:00
Yichun Zhang (agentzh) 34f66f5343 upgraded ngx_set_misc to 0.25. 2014-08-16 14:05:26 -07:00
Yichun Zhang (agentzh) 471940c09b upgraded lua-resty-mysql to 0.15. 2014-08-16 13:57:22 -07:00
Yichun Zhang (agentzh) c9c42f0fee upgraded ngx_form_input to 0.10. 2014-08-16 13:53:28 -07:00
Yichun Zhang (agentzh) 1b20094c21 upgraded ngx_echo to 0.55. 2014-08-16 13:51:52 -07:00
Yichun Zhang (agentzh) fed9b15524 upgraded lua-resty-dns to 0.13. 2014-08-16 13:48:35 -07:00
Yichun Zhang (agentzh) 51a7b54c60 upgraded lua-resty-websocket to 0.04. 2014-08-16 13:46:52 -07:00
Yichun Zhang (agentzh) a90eb927f5 upgraded lua-resty-core to 0.0.9. 2014-08-16 13:44:00 -07:00
Yichun Zhang (agentzh) 8da3363507 upgraded lua-resty-upstream-healthcheck to 0.03. 2014-08-16 13:41:17 -07:00
Yichun Zhang (agentzh) 9d3aa49228 upgraded ngx_lua to 0.9.11. 2014-08-16 13:37:52 -07:00
Yichun Zhang (agentzh) 1266a2933e upgraded ngx_postgres to 1.0rc4. 2014-08-13 15:40:19 -07:00
Yichun Zhang (agentzh) e225c37731 upgraded the nginx core to 1.7.4. 2014-08-07 19:18:57 -07:00
Yichun Zhang (agentzh) b7f6be5a2f upgraded LuaJIT to v2.1-20140805. 2014-08-05 14:59:19 -07:00
Yichun Zhang (agentzh) c23007bcce optimize: now we use the C compiler option -O2 by default. 2014-07-29 15:12:12 -07:00
Yichun Zhang (agentzh) 867328aa81 updated tests to reflect the nginx core upgrade. 2014-07-29 15:10:48 -07:00
Yichun Zhang (agentzh) cd89141e48 updated the proxy_ssl_handshake_timer patch to the upstream version as per Jared Feng's request. 2014-07-28 13:08:39 -07:00
Yichun Zhang (agentzh) 43ae08a6c4 bugfix: applied a patch to fix a bug in the standard ngx_geoip module where its nginx variables like $geoip_latitude might randomly take empty values when they should take perfect values. see http://mailman.nginx.org/pipermail/nginx-devel/2014-July/005642.html 2014-07-25 15:03:42 -07:00
Yichun Zhang (agentzh) f26ae39115 bugfix: applied a patch to the nginx core to ensure the ssl handshake procedure in ngx_proxy is always protected by a timer for timeout errors. see http://mailman.nginx.org/pipermail/nginx-devel/2014-July/005627.html 2014-07-22 17:10:22 -07:00
Yichun Zhang (agentzh) cc4a307f0e upgraded the nginx core to 1.7.3. 2014-07-13 20:35:52 -07:00
Yichun Zhang (agentzh) 315279079f bumped version to 1.7.2.1. 2014-07-12 19:57:20 -07:00
Yichun Zhang (agentzh) 6d854671b7 bugfix: "./configure --without-lua_resty_dns" did not work as declared. thanks Vitaly for the report in #61. 2014-07-09 11:32:49 -07:00
Yichun Zhang (agentzh) 88500d7328 updated tests to reflect recent changes. 2014-07-09 11:28:25 -07:00
Yichun Zhang (agentzh) da19bb5a49 bumped version to 1.7.2.1rc2. 2014-07-08 14:52:33 -07:00
Yichun Zhang (agentzh) 58b1cf3443 upgraded ngx_memc to 0.15. 2014-07-08 14:18:16 -07:00
Yichun Zhang (agentzh) a485e40fb8 upgraded ngx_srcache to 0.28. 2014-07-08 14:13:12 -07:00