Commit Graph

318 Commits

Author SHA1 Message Date
Thibault Charbonnier 4995101388 tests: sanity.t: fixed (again) test cases failing due to the last few commits.
This failure was first fixed in
1f3cf84a8a, but mistakenly reverted in
395bed2b14, causing Travis-CI to fail on
this test again.
2019-09-24 12:54:13 -07:00
Yichun Zhang (agentzh) 3fd0e186bf tests: fixed tests for updated components. 2019-09-11 18:10:43 -07:00
Yichun Zhang (agentzh) 395bed2b14 bugfix: windows: make clean: we did not clear many windows-specific files. 2019-09-07 23:42:20 -07:00
spacewander cf7516fcbc optimize: added an NGINX core patch to ensure unused listening fds are closed when 'reuseport' is used.
When `reuseport` is enabled in the `listen` directive, Nginx will create
a listening fd for each worker process in the master process.

These fds will be inherited by the worker processes, but most of them
are unused. For example, considering we have 32 listening ip:port
configurations and 64 worker processes, each worker process will inherit
2048 (32 * 64) listening fds, but only 32 fds are used. By closing the
unused fds, this change could save up to 2016 (32 * 63) fds in a worker
process.

It doesn't affect the listening socket, since there is only one used fd
which associates to the socket with or without this change.

Co-authored-by: Thibault Charbonnier <thibaultcha@me.com>
2019-08-05 18:54:51 -07:00
Thibault Charbonnier cef09e553f
upgraded the nginx core to 1.17.1. 2019-07-11 11:29:40 -07:00
Thibault Charbonnier 836c8792d2 tests: sanity.t: fixed test cases failing due to the last few commits. 2019-06-27 16:51:51 -07:00
Thibault Charbonnier 547fdd5fb2 bugfix: Config.pm: fixed an issue when generating t/sanity.t_. 2019-05-30 14:52:10 -07:00
Thibault Charbonnier 1f3cf84a8a tests: sanity.t: fixed test cases failing due to the last few commits and renamed another test case. 2019-05-30 14:51:46 -07:00
Yichun Zhang (agentzh) cc9787a290 feature: ./configure: added new option --with-luajit-ldflags=OPTS for specifying custom luajit linker flags. 2019-05-20 13:14:56 -07:00
Thibault Charbonnier a32ca0dbbe upgraded LuaJIT to 2.1-20190507. 2019-05-07 18:28:30 -07:00
Thibault Charbonnier 62d31e53de bumped ngx_http_lua to 0.10.15, ngx_stream_lua to 0.0.7, and lua-resty-core to 0.1.17. 2019-05-02 14:14:00 -07:00
Thibault Charbonnier 023b9d4f88 tests: updated sanity test suite to reflect recent changes in bumped components. 2019-04-11 14:33:16 -04:00
Thibault Charbonnier 88e214aad2 bumped LuaJIT to 2.1-20190228. 2019-02-28 11:59:57 -08:00
Thibault Charbonnier ec8f1b0753 bumped lua-resty-upstream-healthcheck to 0.06. 2019-02-28 10:44:31 -08:00
Thibault Charbonnier 191ca1fdec bumped resty-cli to 0.23. 2019-02-25 08:37:10 -08:00
Yichun Zhang (agentzh) e2ca65128f tests: updated tests to reflect recent changes. 2019-02-24 23:50:15 -08:00
Thibault Charbonnier f238a7542a bumped ngx_lua, ngx_stream_lua, and lua-resty-core to formal releases. 2019-02-23 21:57:57 -08:00
Thibault Charbonnier 95cfc25189 bumped resty-cli, lua-cjson, lua-resty-redis, lua-resty-limit-traffic, lua-resty-websocket, lua-resty-lock, and lua-resty-lrucache to formal release tags. 2019-02-23 21:44:17 -08:00
Yichun Zhang (agentzh) 0b956ca748 upgraded ngx_stream_lua to v0.0.6rc6. 2019-02-23 00:10:13 -08:00
Thibault Charbonnier 7630d23428 bumped ngx_lua to 0.10.14rc7 and lua-resty-shell to 0.02. 2019-02-22 18:27:35 -08:00
Thibault Charbonnier 60589ee251 upgraded LuaJIT to 2.1-20190221. 2019-02-22 18:17:59 -08:00
Thibault Charbonnier 94d0e8ed52 tests: bumped ngx_lua and removed lua-resty-shell/lua-resty-signal from windows builds to reflect recent changes. 2019-02-04 22:58:26 -08:00
Thibault Charbonnier b84a47de27 travis: added travis-ci support. 2019-02-04 16:52:05 -08:00
Thibault Charbonnier 73c881bddf tests: added support for `--- out_like` blocks. 2019-02-04 16:52:05 -08:00
Thibault Charbonnier 72962e0125 bugfix: we now build lua-resty-signal's shared lib component. 2019-02-04 14:45:44 -08:00
Thibault Charbonnier 2e7e51e649 feature: bundled the lua-resty-signal and lua-resty-shell libraries. 2019-02-02 20:35:53 -08:00
Thibault Charbonnier 06468602b9 tests: bumped ngx_lua, ngx_stream_lua, and LuaJIT references according to recent changes. 2019-02-02 20:04:31 -08:00
Thibault Charbonnier c3b7c3b1b9 upgraded ngx_lua to 0.10.14rc4, ngx_stream_lua to 0.0.6rc4, and lua-resty-core to 0.1.16rc4. 2019-01-30 16:04:34 -08:00
Thibault Charbonnier 3f42731e50
change: we now enable the GC64 mode by default in our bundled LuaJIT build for x86_64 architectures; this can be disabled with ./configure --without-luajit-gc64. 2019-01-29 20:00:58 -08:00
Thibault Charbonnier 3c053fff33 tests: bumped lua-cjson references to 2.1.0.7rc2. 2019-01-29 10:58:44 -08:00
Thibault Charbonnier 7b290a582f feature: bundled the lua-tablepool library. 2019-01-29 09:48:06 -08:00
Yichun Zhang (agentzh) f56ee1ecd8 updated the tests to reflect recent changes. 2019-01-18 14:40:28 -08:00
Datong Sun 4500744d5c test: fixed test failure due to NGINX core change introduced in 1.15.1
by 63e8a1d926.
2018-11-01 20:48:02 -07:00
Yichun Zhang (agentzh) 37a41b416c feature: ./configure: added new options --without-stream_ssl_module and --without-stream. 2018-11-01 17:45:50 -07:00
Yichun Zhang (agentzh) e8da00c337 tests: updated tests to reflect recent version changes. 2018-11-01 17:43:56 -07:00
Datong Sun 34db6fd04c configure: now supports the --without-stream_ssl_module option to disable ngx_stream_ssl_module if necessary.
Fix #388.
2018-07-05 00:38:15 -07:00
Yichun Zhang (agentzh) fe8f773b1d updated tests to reflect recent changes. 2018-06-14 15:58:48 -07:00
Yichun Zhang (agentzh) eccf26672c tests: updated sanity.t with util/fix-tests to reflect recent component version changes. 2018-04-24 16:40:27 -07:00
Yichun Zhang (agentzh) 57166863d3 updated tests to reflect recent changes. 2018-04-19 19:02:31 -07:00
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
Yichun Zhang (agentzh) 6a17d2c784 bugfix: ./configure --prefix=PATH did not work when PATH is relative. also added experimental support for the MinGW MSYS environment on Win32. 2015-10-29 21:36:27 +08:00
Yichun Zhang (agentzh) 6624c48881 updated tests to reflect recent changes. 2015-10-29 20:16:19 +08:00
Yichun Zhang (agentzh) e82486be60 updated the tests to reflect recent changes. 2015-07-16 11:47:53 +08:00
Yichun Zhang (agentzh) f84e035e45 upgraded the nginx core to 1.9.3. 2015-07-16 11:45:34 +08:00
Yichun Zhang (agentzh) 60e72cbf82 updated the test suite to reflect recent changes; also bumped version to 1.9.2.1 RC1. 2015-07-08 19:53:31 +08:00
Yichun Zhang (agentzh) 2871ccb9ac updated tests to reflect recent changes. 2015-07-03 16:10:44 +08:00
Yichun Zhang (agentzh) b0a74456ba updated tests to reflect recent changes. 2015-06-23 19:50:30 +08:00
Yichun Zhang (agentzh) 387089ca11 updated test suite to reflect changes; also bumped version to 1.7.10.1. 2015-02-28 17:58:13 -08:00
Yichun Zhang (agentzh) 30c2d1bde6 updated the test suite to reflect version bumps. 2015-02-18 15:39:55 -08:00
Yichun Zhang (agentzh) 86ba1e09f4 ./configure: added --without-http_upstream_least_conn_module and --without-http_upstream_keepalive_module to the usage text (for --help) to reflect recent changes in the nginx core. thanks Seyhun Cavus for the report. 2015-02-09 11:49:13 -08:00
Yichun Zhang (agentzh) 2519cd7dd3 ./configure: renamed the --without-http_limit_zone_module option to --without-http_limit_conn_module to reflect the change in recent nginx cores. thanks Seyhun Cavus for the report. 2015-02-09 11:43:09 -08:00