Commit Graph

229 Commits

Author SHA1 Message Date
Datong Sun ff89bf3ea1 resolv.conf: fixed a bug that when a newline character is present at the end of the resolv.conf file, the parser incorrectly included such newline in the parsed address.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2018-03-30 12:21:19 -07:00
Yichun Zhang (agentzh) 4a85469797 ./configure: fixed source lines exceeding 80 cols (heredoc literals are skipped). 2018-03-18 12:42:07 -07:00
Yichun Zhang (agentzh) 46a1c7adb3 feature: now the openresty build system (./configure) automatically patches the resty command-line utility to use its own nginx binary so that it does not have to compute it at runtime (which is a bit expensive).
this saves about 10ms (from for total 20ms to 10ms) for resty's startup time, as
measured on a mid-2015 MBP. That's 50% reduction in total startup time!

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2018-03-18 12:32:02 -07:00
Yichun Zhang (agentzh) f1ad126b75 updated tests to reflect recent changes. 2018-03-18 12:07:00 -07:00
Datong Sun 3d8b33f0e8 feature: added a patch for the nginx core to add the "local=/path/to/resolv.conf" option to the standard "resolver" config directive.
This can enable the use of system-level nameserver configurations of
/etc/resolv.conf, for example, in nginx's own nonblocking DNS resolver.

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2018-03-16 16:19:19 -07:00
catatsuy 031778f770 bugfix: ./configure: relative paths in --add-dynamic-module=PATH option did not work.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2018-02-25 14:46:07 -08:00
Yichun Zhang (agentzh) 1555734368 updated tests to reflect recent component updates. 2018-02-11 11:38:26 -08:00
Yichun Zhang (agentzh) 94db027c12 ./configure: updated the stream subsystem related options from nginx 1.13.6.
thanks hy05190134 for the report in #334.

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2018-01-24 11:49:52 -08:00
Yichun Zhang (agentzh) e5767d96e9 tests: updated to reflect recent changes. 2018-01-24 11:46:34 -08:00
Yichun Zhang (agentzh) 93e9da93ec tests: fixed a test title. 2017-12-19 18:18:35 -08:00
spacewander 2cc5ba6c91 bugfix: we removed the existing Makefile even for `./configure --help`.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2017-12-09 11:42:32 -08:00
Yichun Zhang (agentzh) dd46539557 updated tests to reflect recent changes. 2017-12-09 11:39:44 -08:00
Yichun Zhang (agentzh) 317dcbfa8a updated tests to reflect recent changes. 2017-11-03 17:34:42 -07:00
Yichun Zhang (agentzh) 3763c5380e feature: bundled and enabled ngx_stream_lua_module by default. this module is still experimental. 2017-10-26 10:41:47 -07:00
Yichun Zhang (agentzh) f46beb607b tests: updated the tests to reflect recent changes. 2017-10-26 09:42:46 -07:00
Yichun Zhang (agentzh) 90fc91567f bumped version to 1.11.2.5; also updated tests to reflect recent changes. 2017-08-17 21:23:02 -07:00
Yichun Zhang (agentzh) b81a5cea66 bugfix: ./configure: the --without-http_lua_upstream option alone incorrectly disabled all the Lua stuff. 2017-06-26 14:17:43 -07:00
Yichun Zhang (agentzh) a8ea810fdc feature: ./configure: the user flags specified by the --with-luajit-xcflags=FLAGS option are not appended to the default flags instead of being prepended. thanks spacewander for the report in #256. 2017-05-06 17:38:10 -07:00
Yichun Zhang (agentzh) dafd10b27d fixed the tests to reflect recent changes. 2017-05-06 17:18:11 -07:00
Yichun Zhang (agentzh) 391709ce4d formal release 1.11.2.3. 2017-04-19 17:00:51 -07:00
Yichun Zhang (agentzh) 1fbcf153e3 change: we no longer bundle the standard Lua 5.1 interpreter. 2017-04-08 17:33:18 -07:00
Yichun Zhang (agentzh) da979a620a updated tests to reflect recent changes. 2017-04-08 17:25:27 -07:00
Yichun Zhang (agentzh) 6b82ea1099 feature: now we automatically add the -msse4.2 compilation option for building the bundled LuaJIT when it is available. 2017-03-19 22:21:11 -07:00
David Galeano ee90152ae3 bugfix: we did not use PATH in ./configure --sbin-path=PATH when creating symlinks.
this fixes #196.

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2017-02-13 15:09:10 -08:00
Yichun Zhang (agentzh) cbfbd19460 updated tests to reflect recent changes. 2016-11-13 10:16:57 -08:00
Yichun Zhang (agentzh) e254c3d0c1 change: now we enable -DLUAJIT_ENABLE_LUA52COMPAT in our bundled LuaJIT build by default, which can be disabled by ./configure --without-luajit-lua52. 2016-11-13 08:18:06 -08:00
Yichun Zhang (agentzh) dbccee1418 updated tests to reflect recent changes. 2016-11-04 15:32:50 -07:00
Yichun Zhang (agentzh) b1c3587c50 updated tests to reflect recent changes. 2016-11-02 15:19:24 -07:00
Yichun Zhang (agentzh) ae8e36ae77 fixed test suite to reflect recent changes. 2016-08-26 13:34:20 -07:00
Yichun Zhang (agentzh) 697bb0a08c updated tests to reflect recent changes. 2016-07-14 18:27:31 -07:00
Yichun Zhang (agentzh) 8d76d5910f feature: now we create the <openresty-prefix>/bin/openresty symlink which points to <openresty-prefix>/nginx/sbin/nginx to avoid polluting the PATH environment with the name "nginx". 2016-07-14 17:53:07 -07:00
Yichun Zhang (agentzh) 9fa2d93c6b updated tests to reflect recent changes. 2016-07-14 17:51:31 -07:00
Yichun Zhang (agentzh) e63984f81d bugfix: special characters like spaces in nginx configure option values (like --with-pcre-opt and --with-openssl-opt) were not passed correctly. thanks Andreas Lubbe for the report in #178. 2016-06-06 12:07:54 -07:00
Yichun Zhang (agentzh) 7ce3d4e881 updated tests to reflect recent changes. 2016-06-03 17:52:39 -07:00
Yichun Zhang (agentzh) 568d1e0e5d upgraded resty-cli to 0.11. 2016-06-03 17:33:44 -07:00
Yichun Zhang (agentzh) 0e9ed23bf5 updated test suite to reflect recent changes. 2016-06-03 17:01:49 -07:00
Yichun Zhang (agentzh) b603282bd6 updated tests to reflect recent changes. 2016-05-25 23:17:46 -07:00
Yichun Zhang (agentzh) 7123e4f0df updated tests to reflect recent changes. 2016-05-25 22:22:25 -07:00
Yichun Zhang (agentzh) 592aa6fec5 updated tests to reflect recent changes. 2016-05-16 17:13:41 -07:00
Yichun Zhang (agentzh) 665faf0aea version 1.9.15.1 RC1. 2016-05-15 22:36:35 -07:00
Yichun Zhang (agentzh) de75e4d7ed version 1.9.7.4 RC1. 2016-03-16 17:36:32 -07:00
Yichun Zhang (agentzh) 36bafb83ed updated tests to reflect recent changes. 2016-03-08 19:10:53 -08:00
Yichun Zhang (agentzh) 463a6a14ee updated tests to reflect recent changes. 2016-02-15 09:38:34 -08:00
Yichun Zhang (agentzh) 52962f3fc9 renamed ngx_openresty to openresty. 2016-01-25 14:33:53 -08:00
Yichun Zhang (agentzh) 383901b193 updated the test suite to reflect recent changes. 2016-01-11 14:39:50 -08:00
Yichun Zhang (agentzh) e5fd373848 updated the test suite to reflect recent changes. 2016-01-11 14:10:32 -08:00
Yichun Zhang (agentzh) 5760ca8dee updated the test suite to reflect recent changes. 2015-12-24 12:46:19 -08:00
Yichun Zhang (agentzh) 3882d2572e upgraded tests to reflect recent changes. 2015-11-11 22:11:32 +08:00
Yichun Zhang (agentzh) 1c106bf487 updated tests to reflect recent changes. 2015-11-04 23:11:16 +08:00
Yichun Zhang (agentzh) 1f4045ef2c More MSYS/MinGW love.
* upgraded ngx_lua to 0.9.18rc1 to support Win32 LuaJIT DLL.
* upgraded lua-redis-parser to 0.11rc1 for better Win32 support.
* upgraded lua-rds-parser to 0.06rc2 for better Win32 support.
* upgraded ngx_rds_csv to 0.07rc1  for better Win32 support.
* upgraded lua-resty-cli to 0.04rc1 for better Win32 support.
* upgraded lua-resty-core to 0.1.2.
* applied a patch to LuaJIT to add "!/lualib/" to the default Lua
  package search paths.
* upgraded lua-cjson to 2.1.0.3rc2 for better Win32 support and
  a suppressed gcc warning.
* use OpenResty's nginx tarballs extracted directly from the official nginx
  code repos, because we need the win32 support which is excluded in the
  official nginx release tarballs. Our nginx release tarballs are
  generated by the util/package-nginx.sh script.
* added the util/package-win32.sh script to generate the Win32 OpenResty
  binary distribution file.
* applied a patch to always enable C compiler feature tests in nginx's
  own build system because the MinGW gcc compiler on Win32 is also
  powerful enough to support advanced features like variadic macros.
* added document README-win32.
* util/dist-check: do a partial uninstallation before installing
  anything new.
* added util/build-win32.sh to build OpenResty on Win32 using the
  MinGW/MSYS toolchain.
* ./configure: added support for building on Win32 using the MinGW/MSYS
  toolchain.
2015-11-02 15:41:50 +08:00