Commit Graph

356 Commits (347c47c784cbc63f4840c2e5da0adf855aa12e7d)

Author SHA1 Message Date
jiahao 99d01cdc1c upgraded opm to 0.0.6rc1. 4 years ago
jiahao bd1b387c3d upgraded resty-cli to 0.28rc1. 4 years ago
jiahao 12db974fc0 upgraded lua-resty-dns to 0.22rc1. 4 years ago
jiahao 7d262c5c8d upgraded lua-resty-mysql to 0.24rc1. 4 years ago
jiahao b9a6f107e2 upgraded lua-resty-string to 0.14rc1. 4 years ago
jiahao 2be7ad590e upgraded lua-resty-lrucache to 0.11rc1. 4 years ago
Johnny Wang 6cd17e53fa
upgraded lua-resty-memcached to v0.16rc1. 4 years ago
Johnny Wang b4592301ad
tests: fixed tests to reflect nginx version bumps. (#718) 4 years ago
jiahao 72d8adc75c tests: fixed tests to reflect component version bumps. 4 years ago
Yichun Zhang (agentzh) 29b901d4cd change: ./configure: we no longer need to pass in -msse4.2 with the latest LuaJIT. 4 years ago
Yichun Zhang (agentzh) bae27d3eff updated tests to reflect the new luajit. 4 years ago
Johnny Wang f9634628c1
tests: fixed tests to reflect component version bumps. (#666)
upgraded LuaJIT to 2.1-20201012-2.
4 years ago
Johnny Wang 083f003647
tests: fixed tests to reflect component version bumps. (#662) 4 years ago
罗泽轩 20d2bd74bf
upgraded lua-resty-redis to v0.29 4 years ago
罗泽轩 2894a41f02
upgraded lua-resty-limit-traffic to 0.07 4 years ago
Yichun Zhang (agentzh) 3fd2b53ccb tests: fixed tests to reflect component version bumps. 4 years ago
Meathill 11fbbe5c62 upgraded echo-nginx-module to 0.62, ngx_devel_kit to 0.3.1, lua-nginx-module to 0.10.16, stream-lua-nginx-module to 0.0.8, srcache-nginx-module to 0.32, resty-cli to 0.25, lua-cjson to 2.1.0.8, lua-resty-redis to 0.28, lua-resty-string to 0.12, lua-resty-lrucache to 0.10, lua-resty-core to 0.1.18, lua-resty-shell to 0.03 4 years ago
Yichun Zhang (agentzh) 4568281eaf skipped the problematic pg_config test case. 4 years ago
Yichun Zhang (agentzh) afa9800e79 tests: updated tests to reflect recent changes. 4 years ago
Thibault Charbonnier 5a03142ec3 configure: removed outdated '--with-luajit' option (always the default).
* keep the option to avoid the script from producing an error - it NOPs.
* removed a dead branch of code since it is now impossible for the
  `luajit` and `luajit_path` options to be both enabled at once.
* update `--help` output to remove mentions of PUC-Rio Lua
4 years ago
Thibault Charbonnier 947365b3b1 configure: updated options inherited from NGINX 1.17.8.
* removed duplicated `--without-stream_ssl_module` option
* removed obsolete `--with-pcre-conf-opt` option
* added "(defautl on) description to `--with-http_ssl_module` option
* moved `--without-stream` option to OpenResty's section
4 years ago
lijunlong 61f6ecb419 feature: passed C compiler option -g by default for statically linked openssl, pcre, and zlib libraries to enable debuginfo. 4 years ago
Thibault Charbonnier fc17ac5bc2 upgraded lua-resty-memcached to v0.15. 5 years ago
Thibault Charbonnier 549d68b71b tests: sanity.t: fixed (again) test cases failing due to the last few commits.
Yet another fix for this test case. The util/fix-tests script seems to
be working fine and preserving the `--- out_like` section, so I honestly
have no idea why it keeps being overridden.
5 years ago
spacewander 4debfd5a3c upgraded lua-cjson to 2.1.0.8rc1. 5 years ago
Yichun Zhang (agentzh) 7ed8526af7 upgraded lua-resty-core to 0.1.18rc4. 5 years ago
Yichun Zhang (agentzh) 563ecc30f7 upgraded lua-resty-core to 0.1.18rc3. 5 years ago
Yichun Zhang (agentzh) 8cf88e3b13 upgraded ngx_stream_lua to 0.0.8rc3 and ngx_http_lua to 0.10.16rc5.
bugfix: now we avoid introducing double quotes or single quotes in CFLAGS variable values. Fix #587.

win32/win64: upgraded openssl to 1.1.1e.
5 years ago
Yichun Zhang (agentzh) 2ac0ad9f03 feature: fixed compatibility with macOS 11.15+.
bumped version to 1.17.8.1 RC1.

win32/win64: upgraded pcre to 8.44 and openssl to 1.1.1d.
5 years ago
Thibault Charbonnier 9e1d025f80 tests: updated tests to reflect recent changes. 5 years ago
Thibault Charbonnier 23f96dc81e bumped ngx_http_lua to 0.10.16rc3 and ngx_stream_lua to 0.0.8rc2. 5 years ago
Thibault Charbonnier 82cd12a2ae upgraded ngx_http_lua to 0.10.16rc1, ngx_stream_lua to 0.0.8rc1, lua-resty-core to 0.1.18rc1, lua-resty-redis to 0.28rc1, lua-resty-lrucache to 0.10rc1, lua-resty-shell to 0.03rc1. 5 years ago
Thibault Charbonnier 28f76c1d27 upgraded the NGINX core to 1.17.8. 5 years ago
Thibault Charbonnier 6d7249f1c4 configure: updated '--without-luajit-gc64' to follow Mike Pall's commit which enables GC64 by default on x64 platforms.
See openresty/luajit2@bd00094
5 years ago
Thibault Charbonnier d6ff771c82 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.

It was then reverted again in 41abd0f3b5,
and now fixed one more time.
5 years ago
Yichun Zhang (agentzh) 41abd0f3b5 bugfix: updated the ./configure --help usage text output for the latest nginx version. 5 years ago
Yichun Zhang (agentzh) 29af6de924 tests: updated tests to reflect recent changes. 5 years ago
Thibault Charbonnier cc79822109 tests: sanity.t: renamed to t/000-sanity.t and added '.' in lib path. 5 years ago
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.
5 years ago
Yichun Zhang (agentzh) 3fd0e186bf tests: fixed tests for updated components. 5 years ago
Yichun Zhang (agentzh) 395bed2b14 bugfix: windows: make clean: we did not clear many windows-specific files. 5 years ago
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>
5 years ago
Thibault Charbonnier cef09e553f
upgraded the nginx core to 1.17.1. 5 years ago
Thibault Charbonnier 836c8792d2 tests: sanity.t: fixed test cases failing due to the last few commits. 5 years ago
Thibault Charbonnier 547fdd5fb2 bugfix: Config.pm: fixed an issue when generating t/sanity.t_. 6 years ago
Thibault Charbonnier 1f3cf84a8a tests: sanity.t: fixed test cases failing due to the last few commits and renamed another test case. 6 years ago
Yichun Zhang (agentzh) cc9787a290 feature: ./configure: added new option --with-luajit-ldflags=OPTS for specifying custom luajit linker flags. 6 years ago
Thibault Charbonnier a32ca0dbbe upgraded LuaJIT to 2.1-20190507. 6 years ago
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. 6 years ago
Thibault Charbonnier 023b9d4f88 tests: updated sanity test suite to reflect recent changes in bumped components. 6 years ago
Thibault Charbonnier 88e214aad2 bumped LuaJIT to 2.1-20190228. 6 years ago
Thibault Charbonnier ec8f1b0753 bumped lua-resty-upstream-healthcheck to 0.06. 6 years ago
Thibault Charbonnier 191ca1fdec bumped resty-cli to 0.23. 6 years ago
Yichun Zhang (agentzh) e2ca65128f tests: updated tests to reflect recent changes. 6 years ago
Thibault Charbonnier f238a7542a bumped ngx_lua, ngx_stream_lua, and lua-resty-core to formal releases. 6 years ago
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. 6 years ago
Yichun Zhang (agentzh) 0b956ca748 upgraded ngx_stream_lua to v0.0.6rc6. 6 years ago
Thibault Charbonnier 7630d23428 bumped ngx_lua to 0.10.14rc7 and lua-resty-shell to 0.02. 6 years ago
Thibault Charbonnier 60589ee251 upgraded LuaJIT to 2.1-20190221. 6 years ago
Thibault Charbonnier 94d0e8ed52 tests: bumped ngx_lua and removed lua-resty-shell/lua-resty-signal from windows builds to reflect recent changes. 6 years ago
Thibault Charbonnier b84a47de27 travis: added travis-ci support. 6 years ago
Thibault Charbonnier 73c881bddf tests: added support for `--- out_like` blocks. 6 years ago
Thibault Charbonnier 72962e0125 bugfix: we now build lua-resty-signal's shared lib component. 6 years ago
Thibault Charbonnier 2e7e51e649 feature: bundled the lua-resty-signal and lua-resty-shell libraries. 6 years ago
Thibault Charbonnier 06468602b9 tests: bumped ngx_lua, ngx_stream_lua, and LuaJIT references according to recent changes. 6 years ago
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. 6 years ago
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. 6 years ago
Thibault Charbonnier 3c053fff33 tests: bumped lua-cjson references to 2.1.0.7rc2. 6 years ago
Thibault Charbonnier 7b290a582f feature: bundled the lua-tablepool library. 6 years ago
Yichun Zhang (agentzh) f56ee1ecd8 updated the tests to reflect recent changes. 6 years ago
Datong Sun 4500744d5c test: fixed test failure due to NGINX core change introduced in 1.15.1
by 63e8a1d926.
6 years ago
Yichun Zhang (agentzh) 37a41b416c feature: ./configure: added new options --without-stream_ssl_module and --without-stream. 6 years ago
Yichun Zhang (agentzh) e8da00c337 tests: updated tests to reflect recent version changes. 6 years ago
Datong Sun 34db6fd04c configure: now supports the --without-stream_ssl_module option to disable ngx_stream_ssl_module if necessary.
Fix #388.
6 years ago
Yichun Zhang (agentzh) fe8f773b1d updated tests to reflect recent changes. 7 years ago
Yichun Zhang (agentzh) eccf26672c tests: updated sanity.t with util/fix-tests to reflect recent component version changes. 7 years ago
Yichun Zhang (agentzh) 57166863d3 updated tests to reflect recent changes. 7 years ago
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>
7 years ago
Yichun Zhang (agentzh) 4a85469797 ./configure: fixed source lines exceeding 80 cols (heredoc literals are skipped). 7 years ago
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>
7 years ago
Yichun Zhang (agentzh) f1ad126b75 updated tests to reflect recent changes. 7 years ago
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>
7 years ago
catatsuy 031778f770 bugfix: ./configure: relative paths in --add-dynamic-module=PATH option did not work.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
7 years ago
Yichun Zhang (agentzh) 1555734368 updated tests to reflect recent component updates. 7 years ago
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>
7 years ago
Yichun Zhang (agentzh) e5767d96e9 tests: updated to reflect recent changes. 7 years ago
Yichun Zhang (agentzh) 93e9da93ec tests: fixed a test title. 7 years ago
spacewander 2cc5ba6c91 bugfix: we removed the existing Makefile even for `./configure --help`.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
7 years ago
Yichun Zhang (agentzh) dd46539557 updated tests to reflect recent changes. 7 years ago
Yichun Zhang (agentzh) 317dcbfa8a updated tests to reflect recent changes. 7 years ago
Yichun Zhang (agentzh) 3763c5380e feature: bundled and enabled ngx_stream_lua_module by default. this module is still experimental. 7 years ago
Yichun Zhang (agentzh) f46beb607b tests: updated the tests to reflect recent changes. 7 years ago
Yichun Zhang (agentzh) 90fc91567f bumped version to 1.11.2.5; also updated tests to reflect recent changes. 7 years ago
Yichun Zhang (agentzh) b81a5cea66 bugfix: ./configure: the --without-http_lua_upstream option alone incorrectly disabled all the Lua stuff. 8 years ago
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. 8 years ago
Yichun Zhang (agentzh) dafd10b27d fixed the tests to reflect recent changes. 8 years ago
Yichun Zhang (agentzh) 391709ce4d formal release 1.11.2.3. 8 years ago
Yichun Zhang (agentzh) 1fbcf153e3 change: we no longer bundle the standard Lua 5.1 interpreter. 8 years ago
Yichun Zhang (agentzh) da979a620a updated tests to reflect recent changes. 8 years ago
Yichun Zhang (agentzh) 6b82ea1099 feature: now we automatically add the -msse4.2 compilation option for building the bundled LuaJIT when it is available. 8 years ago