Commit Graph

1515 Commits

Author SHA1 Message Date
Yichun Zhang (agentzh) 563ecc30f7 upgraded lua-resty-core to 0.1.18rc3. 2020-03-19 21:25:19 -07:00
Yichun Zhang (agentzh) 7dfeed5921 win32/win64: added new patch to fix openssl compilation on windows via the mingw64 toolchain. 2020-03-19 20:06:42 -07:00
Yichun Zhang (agentzh) 05db2b8e84 build-win32.sh: fixed a syntax error. 2020-03-19 19:47:00 -07:00
Yichun Zhang (agentzh) 4ee261201d win32/win64: downgraded openssl from 1.1.1e to 1.1.1d since the former has known issues. 2020-03-19 19:39:08 -07:00
Yichun Zhang (agentzh) 6b71480115 win32/win64: fixed patching procedure openssl 1.1.1e. 2020-03-19 15:33:17 -07:00
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.
2020-03-19 15:22:40 -07:00
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.
2020-03-19 14:17:48 -07:00
Thibault Charbonnier 721d7dacc4 patches: added the openssl-1.1.1e-sess_set_get_cb_yield patch. 2020-03-18 21:48:45 -07:00
Thibault Charbonnier 9e1d025f80 tests: updated tests to reflect recent changes. 2020-02-26 16:55:25 -08:00
Thibault Charbonnier e40f1ccb4a bumped ngx_http_lua to 0.10.16rc4. 2020-02-25 14:56:35 -08:00
Namrata Bhave 56bfefd625 Adding support for s390x builds 2020-02-21 12:11:11 -08:00
Yichun Zhang (agentzh) a89a0a54b8 mirror-tarballs: we must remove any existing ngx_devel_kit* tarballs from local cache directories. 2020-02-20 22:40:22 -08:00
Thibault Charbonnier 23f96dc81e bumped ngx_http_lua to 0.10.16rc3 and ngx_stream_lua to 0.0.8rc2. 2020-02-13 15:07:35 -08:00
Thibault Charbonnier 2991c49b69 bumped ngx_http_lua to 0.10.16rc2. 2020-02-06 14:23:56 -08:00
Thibault Charbonnier c1a0a9ad8f bugfix: fixed a memory leak in the OpenSSL 1.1.1 sess_set_get_cb_yield patch.
This memory leak was found by running the Valgrind testing mode against
lua-resty-core's `ssl-session-fetch.t` test suite:

    TEST 5: yield during doing handshake with client which uses low version OpenSSL

    ==16956== 64 (32 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 5 of 15
    ==16956== at 0x4C2B002: malloc (vg_replace_malloc.c:298)
    ==16956== by 0x5FFC868: CRYPTO_malloc (mem.c:222)
    ==16956== by 0x5FFC96F: CRYPTO_zalloc (mem.c:230)
    ==16956== by 0x603C54A: OPENSSL_sk_new_reserve (stack.c:209)
    ==16956== by 0x603C597: OPENSSL_sk_new_null (stack.c:118)
    ==16956== by 0x5C94A86: sk_SSL_CIPHER_new_null (ssl.h:960)
    ==16956== by 0x5C94A86: bytes_to_cipher_list (ssl_lib.c:5361)
    ==16956== by 0x5CB52E9: tls_early_post_process_client_hello (statem_srvr.c:1713)
    ==16956== by 0x5CB52E9: tls_post_process_client_hello (statem_srvr.c:2231)
    ==16956== by 0x5CB6F39: ossl_statem_server_post_process_message (statem_srvr.c:1218)
    ==16956== by 0x5CA4C11: read_state_machine (statem.c:664)
    ==16956== by 0x5CA4C11: state_machine (statem.c:434)
    ==16956== by 0x5CA538A: ossl_statem_accept (statem.c:255)
    ==16956== by 0x5C91759: SSL_do_handshake (ssl_lib.c:3609)
    ==16956== by 0x45456B: ngx_ssl_handshake (ngx_event_openssl.c:1606)
    ==16956== by 0x4698D3: ngx_http_ssl_handshake (ngx_http_request.c:751)
    ==16956== by 0x44ECA8: ngx_epoll_process_events (ngx_epoll_module.c:901)
    ==16956== by 0x443E94: ngx_process_events_and_timers (ngx_event.c:257)
    ==16956== by 0x44DC25: ngx_single_process_cycle (ngx_process_cycle.c:333)
    ==16956== by 0x4236AB: main (nginx.c:382)
    ==16956==
    {
    <insert_a_suppression_name_here>
    Memcheck:Leak
    match-leak-kinds: definite
    fun:malloc
    fun:CRYPTO_malloc
    fun:CRYPTO_zalloc
    fun:OPENSSL_sk_new_reserve
    fun:OPENSSL_sk_new_null
    fun:sk_SSL_CIPHER_new_null
    fun:bytes_to_cipher_list
    fun:tls_early_post_process_client_hello
    fun:tls_post_process_client_hello
    fun:ossl_statem_server_post_process_message
    fun:read_state_machine
    fun:state_machine
    fun:ossl_statem_accept
    fun:SSL_do_handshake
    fun:ngx_ssl_handshake
    fun:ngx_http_ssl_handshake
    fun:ngx_epoll_process_events
    fun:ngx_process_events_and_timers
    fun:ngx_single_process_cycle
    fun:main
    }

    ==16956== 368 (32 direct, 336 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 15
    ==16956== at 0x4C2B002: malloc (vg_replace_malloc.c:298)
    ==16956== by 0x5FFC868: CRYPTO_malloc (mem.c:222)
    ==16956== by 0x5FFC96F: CRYPTO_zalloc (mem.c:230)
    ==16956== by 0x603C54A: OPENSSL_sk_new_reserve (stack.c:209)
    ==16956== by 0x603C597: OPENSSL_sk_new_null (stack.c:118)
    ==16956== by 0x5C94A79: sk_SSL_CIPHER_new_null (ssl.h:960)
    ==16956== by 0x5C94A79: bytes_to_cipher_list (ssl_lib.c:5360)
    ==16956== by 0x5CB52E9: tls_early_post_process_client_hello (statem_srvr.c:1713)
    ==16956== by 0x5CB52E9: tls_post_process_client_hello (statem_srvr.c:2231)
    ==16956== by 0x5CB6F39: ossl_statem_server_post_process_message (statem_srvr.c:1218)
    ==16956== by 0x5CA4C11: read_state_machine (statem.c:664)
    ==16956== by 0x5CA4C11: state_machine (statem.c:434)
    ==16956== by 0x5CA538A: ossl_statem_accept (statem.c:255)
    ==16956== by 0x5C91759: SSL_do_handshake (ssl_lib.c:3609)
    ==16956== by 0x45456B: ngx_ssl_handshake (ngx_event_openssl.c:1606)
    ==16956== by 0x4698D3: ngx_http_ssl_handshake (ngx_http_request.c:751)
    ==16956== by 0x44ECA8: ngx_epoll_process_events (ngx_epoll_module.c:901)
    ==16956== by 0x443E94: ngx_process_events_and_timers (ngx_event.c:257)
    ==16956== by 0x44DC25: ngx_single_process_cycle (ngx_process_cycle.c:333)
    ==16956== by 0x4236AB: main (nginx.c:382)
    ==16956==
    {
    <insert_a_suppression_name_here>
    Memcheck:Leak
    match-leak-kinds: definite
    fun:malloc
    fun:CRYPTO_malloc
    fun:CRYPTO_zalloc
    fun:OPENSSL_sk_new_reserve
    fun:OPENSSL_sk_new_null
    fun:sk_SSL_CIPHER_new_null
    fun:bytes_to_cipher_list
    fun:tls_early_post_process_client_hello
    fun:tls_post_process_client_hello
    fun:ossl_statem_server_post_process_message
    fun:read_state_machine
    fun:state_machine
    fun:ossl_statem_accept
    fun:SSL_do_handshake
    fun:ngx_ssl_handshake
    fun:ngx_http_ssl_handshake
    fun:ngx_epoll_process_events
    fun:ngx_process_events_and_timers
    fun:ngx_single_process_cycle
    fun:main
    }
2020-02-05 15:24:20 -08:00
Thibault Charbonnier d856e2bf4b bugfix: mirror-tarballs: updated ngx_devel_kit's GitHub owner org to vision5.
The script started failing with:

    mv: cannot stat 'simplresty-ngx_devel_kit-*': No such file or directory

Since the GitHub organization owning the ngx_devel_kit repository was
updated to be 'vision5' instead of 'simplresty'.
2020-01-23 15:36:25 -08:00
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. 2020-01-23 12:10:42 -08:00
Thibault Charbonnier 28f76c1d27 upgraded the NGINX core to 1.17.8. 2020-01-22 16:02:49 -08:00
Thibault Charbonnier 268229af83 misc: removed the gcc-maybe-uninitialized-warning patch.
This was fixed in the 1.5.10 release. We unconditionally remove it since
we only support NGINX cores 1.6.0 and above.
2020-01-21 11:25:56 -08:00
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
2020-01-20 15:18:26 -08:00
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.
2020-01-20 14:26:21 -08:00
Yichun Zhang (agentzh) 41abd0f3b5 bugfix: updated the ./configure --help usage text output for the latest nginx version. 2020-01-02 20:58:30 -08:00
Yichun Zhang (agentzh) 29af6de924 tests: updated tests to reflect recent changes. 2020-01-02 20:39:26 -08:00
Yichun Zhang (agentzh) f17fe6edc1 change: we no longer maintain the nginx dtrace patch. 2020-01-02 20:35:41 -08:00
Yichun Zhang (agentzh) 3a630bb020 upgraded ngx_echo to 0.62rc1 and ngx_srcache to 0.32rc1. 2020-01-02 20:26:14 -08:00
Yichun Zhang (agentzh) d4d86a8b0c upgraded LuaJIT to 2.1-20200102. 2020-01-02 20:18:29 -08:00
Thibault Charbonnier 7508c18522 upgraded the NGINX core to 1.17.4. 2019-09-30 15:08:42 -07:00
Thibault Charbonnier df6c3bcdcb change: util/dist-check: removed 'without FFI' tests.
We also don't try to delete <prefix>/lua anymore since it does not
exist.
2019-09-30 15:06:16 -07:00
Thibault Charbonnier 9b1dbb6027 tweak: mirror-tarballs: removed obsolete or copy-pasted code. 2019-09-30 15:06:16 -07:00
Thibault Charbonnier 01f212ce9f optimize: mirror-tarballs: ensured all OpenSSL patches are included in the tarball. 2019-09-30 15:06:16 -07:00
Thibault Charbonnier a5248e03d5 optimize: mirror-tarballs: removed many non-source files from the final tarball.
This reduces the size of the release tarball from 4.7MB down to 3.5MB.

Diff of openresty-tarball-master (prior) and openresty-tarball-refactor
(after this patch) with NGINX core 1.17.1:

    Only in ./openresty-tarball-master/bundle/array-var-nginx-module-0.05: .gitattributes
    Only in ./openresty-tarball-master/bundle/array-var-nginx-module-0.05: .gitignore
    Only in ./openresty-tarball-master/bundle/array-var-nginx-module-0.05: t
    Only in ./openresty-tarball-master/bundle/array-var-nginx-module-0.05: util
    Only in ./openresty-tarball-master/bundle/array-var-nginx-module-0.05: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/drizzle-nginx-module-0.1.11: .gitattributes
    Only in ./openresty-tarball-master/bundle/drizzle-nginx-module-0.1.11: .gitignore
    Only in ./openresty-tarball-master/bundle/drizzle-nginx-module-0.1.11: t
    Only in ./openresty-tarball-master/bundle/drizzle-nginx-module-0.1.11: .travis.yml
    Only in ./openresty-tarball-master/bundle/drizzle-nginx-module-0.1.11: util
    Only in ./openresty-tarball-master/bundle/drizzle-nginx-module-0.1.11: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/echo-nginx-module-0.61: .gitattributes
    Only in ./openresty-tarball-master/bundle/echo-nginx-module-0.61: .gitignore
    Only in ./openresty-tarball-master/bundle/echo-nginx-module-0.61: t
    Only in ./openresty-tarball-master/bundle/echo-nginx-module-0.61: .travis.yml
    Only in ./openresty-tarball-master/bundle/echo-nginx-module-0.61: util
    Only in ./openresty-tarball-master/bundle/echo-nginx-module-0.61: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/encrypted-session-nginx-module-0.08: .gitattributes
    Only in ./openresty-tarball-master/bundle/encrypted-session-nginx-module-0.08: .gitignore
    Only in ./openresty-tarball-master/bundle/encrypted-session-nginx-module-0.08: t
    Only in ./openresty-tarball-master/bundle/encrypted-session-nginx-module-0.08: .travis.yml
    Only in ./openresty-tarball-master/bundle/encrypted-session-nginx-module-0.08: util
    Only in ./openresty-tarball-master/bundle/encrypted-session-nginx-module-0.08: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/form-input-nginx-module-0.12: .gitignore
    Only in ./openresty-tarball-master/bundle/form-input-nginx-module-0.12: t
    Only in ./openresty-tarball-master/bundle/form-input-nginx-module-0.12: util
    Only in ./openresty-tarball-master/bundle/form-input-nginx-module-0.12: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/headers-more-nginx-module-0.33: .gitattributes
    Only in ./openresty-tarball-master/bundle/headers-more-nginx-module-0.33: .gitignore
    Only in ./openresty-tarball-master/bundle/headers-more-nginx-module-0.33: t
    Only in ./openresty-tarball-master/bundle/headers-more-nginx-module-0.33: .travis.yml
    Only in ./openresty-tarball-master/bundle/headers-more-nginx-module-0.33: util
    Only in ./openresty-tarball-master/bundle/headers-more-nginx-module-0.33: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/iconv-nginx-module-0.14: .gitignore
    Only in ./openresty-tarball-master/bundle/iconv-nginx-module-0.14: t
    Only in ./openresty-tarball-master/bundle/iconv-nginx-module-0.14: util
    Only in ./openresty-tarball-master/bundle/iconv-nginx-module-0.14: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/LuaJIT-2.1-20190912: doc
    Only in ./openresty-tarball-master/bundle/LuaJIT-2.1-20190912: .gitignore
    Only in ./openresty-tarball-master/bundle/LuaJIT-2.1-20190912/src: .gitignore
    Only in ./openresty-tarball-master/bundle/LuaJIT-2.1-20190912/src/host: .gitignore
    Only in ./openresty-tarball-master/bundle/LuaJIT-2.1-20190912/src/jit: .gitignore
    Only in ./openresty-tarball-master/bundle/LuaJIT-2.1-20190912: t
    Only in ./openresty-tarball-master/bundle/LuaJIT-2.1-20190912: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-rds-parser-0.06: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-rds-parser-0.06: t
    Only in ./openresty-tarball-master/bundle/lua-redis-parser-0.13: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-redis-parser-0.13: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-redis-parser-0.13: t
    Only in ./openresty-tarball-master/bundle/lua-redis-parser-0.13: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-core-0.1.17: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-core-0.1.17: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-core-0.1.17: .github
    Only in ./openresty-tarball-master/bundle/lua-resty-core-0.1.17: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-core-0.1.17: .luacheckrc
    Only in ./openresty-tarball-master/bundle/lua-resty-core-0.1.17: t
    Only in ./openresty-tarball-master/bundle/lua-resty-core-0.1.17: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-core-0.1.17: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-dns-0.21: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-dns-0.21: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-dns-0.21: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-dns-0.21: t
    Only in ./openresty-tarball-master/bundle/lua-resty-dns-0.21: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-dns-0.21: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-limit-traffic-0.06: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-limit-traffic-0.06: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-limit-traffic-0.06: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-limit-traffic-0.06: t
    Only in ./openresty-tarball-master/bundle/lua-resty-limit-traffic-0.06: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-limit-traffic-0.06: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-lock-0.08: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-lock-0.08: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-lock-0.08: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-lock-0.08: t
    Only in ./openresty-tarball-master/bundle/lua-resty-lock-0.08: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-lock-0.08: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-lrucache-0.09: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-lrucache-0.09: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-lrucache-0.09: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-lrucache-0.09: t
    Only in ./openresty-tarball-master/bundle/lua-resty-lrucache-0.09: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-lrucache-0.09: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-memcached-0.14: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-memcached-0.14: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-memcached-0.14: t
    Only in ./openresty-tarball-master/bundle/lua-resty-memcached-0.14: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-mysql-0.21: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-mysql-0.21: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-mysql-0.21: .github
    Only in ./openresty-tarball-master/bundle/lua-resty-mysql-0.21: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-mysql-0.21: t
    Only in ./openresty-tarball-master/bundle/lua-resty-mysql-0.21: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-mysql-0.21: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-redis-0.27: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-redis-0.27: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-redis-0.27: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-redis-0.27: t
    Only in ./openresty-tarball-master/bundle/lua-resty-redis-0.27: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-redis-0.27: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-shell-0.02: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-shell-0.02: t
    Only in ./openresty-tarball-master/bundle/lua-resty-shell-0.02: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-shell-0.02: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-signal-0.02: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-signal-0.02: t
    Only in ./openresty-tarball-master/bundle/lua-resty-signal-0.02: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-signal-0.02: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-string-0.12rc1: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-string-0.12rc1: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-string-0.12rc1: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-string-0.12rc1: t
    Only in ./openresty-tarball-master/bundle/lua-resty-string-0.12rc1: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-string-0.12rc1: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-upload-0.10: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-upload-0.10: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-upload-0.10: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-upload-0.10: t
    Only in ./openresty-tarball-master/bundle/lua-resty-upload-0.10: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-upload-0.10: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-upstream-healthcheck-0.06: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-upstream-healthcheck-0.06: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-upstream-healthcheck-0.06: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-upstream-healthcheck-0.06: t
    Only in ./openresty-tarball-master/bundle/lua-resty-upstream-healthcheck-0.06: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-upstream-healthcheck-0.06: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-resty-websocket-0.07: dist.ini
    Only in ./openresty-tarball-master/bundle/lua-resty-websocket-0.07: .gitattributes
    Only in ./openresty-tarball-master/bundle/lua-resty-websocket-0.07: .gitignore
    Only in ./openresty-tarball-master/bundle/lua-resty-websocket-0.07: t
    Only in ./openresty-tarball-master/bundle/lua-resty-websocket-0.07: .travis.yml
    Only in ./openresty-tarball-master/bundle/lua-resty-websocket-0.07: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/lua-tablepool-0.01: .gitignore
    Only in ./openresty-tarball-master/bundle/memc-nginx-module-0.19: .gitattributes
    Only in ./openresty-tarball-master/bundle/memc-nginx-module-0.19: .gitignore
    Only in ./openresty-tarball-master/bundle/memc-nginx-module-0.19: t
    Only in ./openresty-tarball-master/bundle/memc-nginx-module-0.19: .travis.yml
    Only in ./openresty-tarball-master/bundle/memc-nginx-module-0.19: util
    Only in ./openresty-tarball-master/bundle/memc-nginx-module-0.19: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/auto/cc: clang.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/auto/cc: conf.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/auto/cc: gcc.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/auto/cc: icc.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/auto: options.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/auto/os: linux.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/auto: sources.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/auto: unix.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/core: nginx.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/core: ngx_connection.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/core: ngx_cycle.h.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/core: ngx_log.h.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/core: ngx_resolver.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/dtrace: nginx.stp
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/event: ngx_event_accept.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/event: ngx_event_connect.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/event: ngx_event.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/event: ngx_event_openssl.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http/modules: ngx_http_log_module.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http/modules: ngx_http_proxy_module.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http/modules/perl: nginx.pm
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http: ngx_http_core_module.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http: ngx_http_request.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http: ngx_http_special_response.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http: ngx_http_upstream.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http: ngx_http_upstream.h.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/http/v2: ngx_http_v2_filter_module.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/os/unix: ngx_process_cycle.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/stream: ngx_stream.h.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/stream: ngx_stream_proxy_module.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/stream: ngx_stream_ssl_preread_module.c.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/stream: ngx_stream_upstream.h.orig
    Only in ./openresty-tarball-master/bundle/nginx-1.17.1/src/stream: ngx_stream_upstream_round_robin.c.orig
    Only in ./openresty-tarball-master/bundle/ngx_coolkit-0.2: .gitignore
    Only in ./openresty-tarball-master/bundle/ngx_coolkit-0.2: t
    Only in ./openresty-tarball-master/bundle/ngx_coolkit-0.2: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/ngx_devel_kit-0.3.1rc1: .gitignore
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15: .gitattributes
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15: .github
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15: .gitignore
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15/misc/recv-until-pm/lib: RecvUntil.pm
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15/misc/recv-until-pm: t
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15: t
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15/tapset: ngx_lua.stp
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15: .travis.yml
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15: util
    Only in ./openresty-tarball-master/bundle/ngx_lua-0.10.15: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/ngx_lua_upstream-0.07: .gitattributes
    Only in ./openresty-tarball-master/bundle/ngx_lua_upstream-0.07: .gitignore
    Only in ./openresty-tarball-master/bundle/ngx_lua_upstream-0.07: t
    Only in ./openresty-tarball-master/bundle/ngx_lua_upstream-0.07: .travis.yml
    Only in ./openresty-tarball-master/bundle/ngx_lua_upstream-0.07: util
    Only in ./openresty-tarball-master/bundle/ngx_lua_upstream-0.07: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/ngx_postgres-1.0: .gitignore
    Only in ./openresty-tarball-master/bundle/ngx_postgres-1.0: t
    Only in ./openresty-tarball-master/bundle/ngx_postgres-1.0: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/ngx_stream_lua-0.0.7: .gitattributes
    Only in ./openresty-tarball-master/bundle/ngx_stream_lua-0.0.7: .gitignore
    Only in ./openresty-tarball-master/bundle/ngx_stream_lua-0.0.7: t
    Only in ./openresty-tarball-master/bundle/ngx_stream_lua-0.0.7: .travis.yml
    Only in ./openresty-tarball-master/bundle/ngx_stream_lua-0.0.7: util
    Only in ./openresty-tarball-master/bundle/ngx_stream_lua-0.0.7: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8: lua-cjson-2.1.0.6-1.rockspec
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8: lua-cjson.spec
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: example1.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: example2.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: example3.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: example4.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: example5.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: numbers.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: rfc-example1.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: rfc-example2.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: TestLua.pm
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8/tests: types.json
    Only in ./openresty-tarball-master/bundle/openresty-lua-cjson-82e71d8: .travis.yml
    Only in ./openresty-tarball-master/bundle/opm-0.0.5: .gitignore
    Only in ./openresty-tarball-master/bundle/opm-0.0.5: init.sql
    Only in ./openresty-tarball-master/bundle/opm-0.0.5: util
    Only in ./openresty-tarball-master/bundle/opm-0.0.5: web
    Only in ./openresty-tarball-master/bundle/pod/lua-resty-core-0.1.17: .github.issue_template.pod
    Only in ./openresty-tarball-master/bundle/pod/lua-resty-core-0.1.17: .github.pull_request_template.pod
    Only in ./openresty-tarball-master/bundle/pod/lua-resty-mysql-0.21: .github.issue_template.pod
    Only in ./openresty-tarball-master/bundle/pod/ngx_lua-0.10.15: .github.issue_template.pod
    Only in ./openresty-tarball-master/bundle/pod/ngx_lua-0.10.15: .github.pull_request_template.pod
    Only in ./openresty-tarball-master/bundle/rds-csv-nginx-module-0.09: .gitattributes
    Only in ./openresty-tarball-master/bundle/rds-csv-nginx-module-0.09: .gitignore
    Only in ./openresty-tarball-master/bundle/rds-csv-nginx-module-0.09: t
    Only in ./openresty-tarball-master/bundle/rds-csv-nginx-module-0.09: .travis.yml
    Only in ./openresty-tarball-master/bundle/rds-csv-nginx-module-0.09: util
    Only in ./openresty-tarball-master/bundle/rds-csv-nginx-module-0.09: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/rds-json-nginx-module-0.15: .gitattributes
    Only in ./openresty-tarball-master/bundle/rds-json-nginx-module-0.15: .gitignore
    Only in ./openresty-tarball-master/bundle/rds-json-nginx-module-0.15: t
    Only in ./openresty-tarball-master/bundle/rds-json-nginx-module-0.15: .travis.yml
    Only in ./openresty-tarball-master/bundle/rds-json-nginx-module-0.15: util
    Only in ./openresty-tarball-master/bundle/rds-json-nginx-module-0.15: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/redis2-nginx-module-0.15: .gitattributes
    Only in ./openresty-tarball-master/bundle/redis2-nginx-module-0.15: .gitignore
    Only in ./openresty-tarball-master/bundle/redis2-nginx-module-0.15: t
    Only in ./openresty-tarball-master/bundle/redis2-nginx-module-0.15: .travis.yml
    Only in ./openresty-tarball-master/bundle/redis2-nginx-module-0.15: util
    Only in ./openresty-tarball-master/bundle/redis2-nginx-module-0.15: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/redis-nginx-module-0.3.7: ngx_http_redis_module.c.orig
    Only in ./openresty-tarball-master/bundle/redis-nginx-module-0.3.7: t
    Only in ./openresty-tarball-master/bundle/resty-cli-0.25rc2: .gitattributes
    Only in ./openresty-tarball-master/bundle/resty-cli-0.25rc2: .gitignore
    Only in ./openresty-tarball-master/bundle/resty-cli-0.25rc2: t
    Only in ./openresty-tarball-master/bundle/resty-cli-0.25rc2: .travis.yml
    Only in ./openresty-tarball-master/bundle/resty-cli-0.25rc2: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/set-misc-nginx-module-0.32: .gitattributes
    Only in ./openresty-tarball-master/bundle/set-misc-nginx-module-0.32: .gitignore
    Only in ./openresty-tarball-master/bundle/set-misc-nginx-module-0.32: t
    Only in ./openresty-tarball-master/bundle/set-misc-nginx-module-0.32: .travis.yml
    Only in ./openresty-tarball-master/bundle/set-misc-nginx-module-0.32: util
    Only in ./openresty-tarball-master/bundle/set-misc-nginx-module-0.32: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/srcache-nginx-module-0.31: .gitattributes
    Only in ./openresty-tarball-master/bundle/srcache-nginx-module-0.31: .gitignore
    Only in ./openresty-tarball-master/bundle/srcache-nginx-module-0.31: t
    Only in ./openresty-tarball-master/bundle/srcache-nginx-module-0.31: util
    Only in ./openresty-tarball-master/bundle/srcache-nginx-module-0.31: valgrind.suppress
    Only in ./openresty-tarball-master/bundle/xss-nginx-module-0.06: .gitattributes
    Only in ./openresty-tarball-master/bundle/xss-nginx-module-0.06: .gitignore
    Only in ./openresty-tarball-master/bundle/xss-nginx-module-0.06: t
    Only in ./openresty-tarball-master/bundle/xss-nginx-module-0.06: .travis.yml
    Only in ./openresty-tarball-master/bundle/xss-nginx-module-0.06: util
    Only in ./openresty-tarball-master/bundle/xss-nginx-module-0.06: valgrind.suppress
2019-09-30 15:06:16 -07:00
Thibault Charbonnier 9ce78f62c5 optimize: mirror-tarballs: used 'hg update --clean' to avoid being prompted when repository is cloned. 2019-09-30 15:06:16 -07:00
Thibault Charbonnier 21dfc48bb5 bugfix: mirror-tarballs: applied the init_cycle_pool_release patch to NGINX cores >= 1.13.6 instead of 1.13.6 only. 2019-09-30 15:06:16 -07:00
Thibault Charbonnier bad7098d88 patches: added the nginx-1.17.4 patches. 2019-09-27 11:31:52 -07:00
Thibault Charbonnier cc79822109 tests: sanity.t: renamed to t/000-sanity.t and added '.' in lib path. 2019-09-25 23:04:18 -07:00
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) 19ca6c4e2d upgraded LuaJIT to 2.1-20190912. 2019-09-11 18:09:34 -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
Yichun Zhang (agentzh) a717ebd523 build-win32: more love. 2019-09-07 23:25:47 -07:00
Yichun Zhang (agentzh) 3b1b2374c0 windows: upgraded pcre to 8.43 and openssl to 1.1.0k. 2019-09-07 23:20:44 -07:00
Yichun Zhang (agentzh) f5d359f8f0 dist-check: set LC_ALL=C env. 2019-09-07 22:52:24 -07:00
James Le Cuirot 45a454beec tweak: removed unused 'misc/unwind-generic.h' header file. 2019-08-15 14:47:30 -07:00
Thibault Charbonnier 59e4ef5c23 bugfix: applied the patch for security advisory to NGINX cores < 1.14.1 and < 1.15.6 (CVE-2019-9511 CVE-2019-9513 CVE-2019-9516). 2019-08-14 11:39:47 -07:00
Thibault Charbonnier 80ba3892c6 bugfix: applied the patch for security advisory to NGINX cores < 1.14.1 and < 1.15.6 (CVE-2018-16843 CVE-2018-16844). 2019-08-14 11:39:47 -07:00
Datong Sun d5f48a8b75 bugfix: applied the patch for security advisory to NGINX cores < 1.14.1 and < 1.15.6 (CVE-2018-16845).
Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>
2019-08-13 11:56:19 -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 46237a9c22 travis: added OpenSSL 1.1.1c to the tests matrix. 2019-07-17 16:25:50 -07:00
spacewander 34918a30c3 bugfix: support yielding in 'certificate_by_lua_*' when 'ssl_early_data' is on.
Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>
2019-07-17 16:25:50 -07:00
spacewander 2e480157a3 feature: supported OpenSSL 1.1.1 by upgrading the OpenSSL patch.
Previously, we used the OpenSSL 1.1.1 ClientHello callback to do ssl
session fetching non-blockingly. However, this way cannot handle an edge
case: the ssl session resumption via session ticket might fail, and the
client fallbacks to session ID resumption. The ClientHello callback is
run too early to know if the client will fallback to use session ID
resumption.

Therefore, we have to take back the OpenSSL sess_set_get_cb_yield patch
and upgrade it to adapt OpenSSL 1.1.1.

Thanks Yongjian Xu and crasyangel for their help.

See 08e9e50.

Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>
2019-07-17 11:03:34 -07:00