Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
187ad5c
bugfix: failed to build when building without http2&http3 modules.
zhuizhuhaomeng Nov 9, 2023
339b08a
doc: make some debug message and comments accurate.
lynch1981 Nov 12, 2023
577dfeb
feature: add max_bytes argument for get_body_data() function.
Masterlvng Nov 14, 2023
3a0b823
feature: make HTTP3 authority as http_host header.
zhuizhuhaomeng Nov 14, 2023
0c3675f
tests: adjust some test cases for HTTP3.
zhuizhuhaomeng Nov 21, 2023
75ab35d
doc: add http2 and http3 limitation doc comment for ngx.req.socket API.
oowl Nov 21, 2023
2d32c7c
bumped version of lua-nginx-module to 10026.
zhuizhuhaomeng Nov 23, 2023
ff96d75
tests: update openssl to 1.1.1w.
zhuizhuhaomeng Nov 28, 2023
0d054a5
tests: t/128-duplex-tcp-socket: replacing constant port 7658 with a r…
xiaocang Dec 20, 2023
8c7f9bf
tests: t/129-ssl-socket.t: use the same IP to ensure that the ssl ses…
xiaocang Dec 20, 2023
f249fa9
bugfix: fixed memory leak in the case of connection in dubious. (#2270)
xiaocang Dec 20, 2023
e8da878
optimize: Make the use of NGX_PCRE2 clearer.
lynch1981 Dec 22, 2023
bf5d9d3
change: don't move the expired item to the lru queue head when lookup.
zhuizhuhaomeng Dec 22, 2023
766b7a8
tests: use random ports instead of constant ports to prevent conflict…
xiaocang Dec 25, 2023
0e769b7
tests: 082-body-filter-2.t: skip this test if mockeagain is not loade…
xiaocang Dec 27, 2023
7598ff3
feature: add ngx_http_lua_ffi_parse_der_cert and ngx_http_lua_ffi_par…
devicenull Jan 20, 2024
e0d19f7
Revert "changes: modify read body api limitation for HTTP/2 or HTTP/3…
oowl Feb 28, 2024
6e29c1a
Revert "bugfix: disable http2 in body read due to http2 stream proces…
oowl Feb 28, 2024
8dec675
docs: docs about ngx.read_body() API limitations in stream HTTP2 and …
oowl Feb 28, 2024
1c77f02
bugfix: fix memory corruption in consecutive regex calls.
zhongweiy Mar 4, 2024
54e5cb0
feature: add ngx_http_lua_ffi_ssl_client_random.
xuruidong Mar 6, 2024
9e59105
tests: fixed typo.
zhuizhuhaomeng Mar 7, 2024
6df2b6f
bugfix: correct offset vector memory allocation size for PCRE2.
zhongweiy Mar 8, 2024
1654cc6
feature: add FFI function for balancer.disable_ssl.
zhuizhuhaomeng Mar 8, 2024
6394deb
optimize: allow to reenable the tls for the upstream.
zhuizhuhaomeng Mar 8, 2024
e5248aa
bugfix: fixed HTTP HEAD request smuggling issue.
zhuizhuhaomeng Mar 9, 2024
ca942b6
feature: add udp cosocket bind api.
syzh Mar 10, 2024
0189eb1
feature: add suport for deriving key from tls master secret.
bas-vk Mar 10, 2024
76e3d67
feature: validate and expose nextUpdate field in OCSP response.
ElvinEfendi Mar 10, 2024
f725c60
bugfix: Fixing compatibility issues with BoringSSL.
zhuizhuhaomeng Mar 10, 2024
e2067dd
bugfix: wrong arguments of setkeepalive() result in the compromise of…
zhuizhuhaomeng Mar 20, 2024
6c00bd4
bugfix: the connection won't be closed normally when set arg[1] = "" …
monkeyDluffy6017 Apr 11, 2024
c1d3092
bugfix: worker thread Lua VM may take lots of memory.
zhuizhuhaomeng May 27, 2024
5bf8761
doc: update doc for 'ngx.req.http_version'.
xuruidong May 29, 2024
b5d1688
bugfix: fix config test for signalfd with gcc 11.
setnicka Jun 5, 2024
892b7ee
bugfix: lua-nginx-module context was clear when ngx.send_header() tri…
oowl Jun 28, 2024
4f8b943
bugfix:main thread access free fake request.
fesily Jul 1, 2024
7b6fa21
feature: implemented keepalive pooling in 'balancer_by_lua*'.
zhuizhuhaomeng Jul 1, 2024
6738c3a
change: should match the local address when get connection from the k…
zhuizhuhaomeng Nov 23, 2022
6477a7b
bugfix: fixed compilation errors when building without SSL.
xiaocang Jul 3, 2024
39d165c
bugfix: undefined symbol SSL_client_hello_get0_ext when linking again…
zhuizhuhaomeng Jul 7, 2024
0a1c704
feature: support ngx.location.capture and ngx.location.capture_multi …
ytlm Jul 7, 2024
94f55f7
bugfix: respect max retry after using balancer pool.
tzssangglass Jul 9, 2024
45c63cd
feature: add ssl trusted certificate.
theweakgod Jul 9, 2024
8670e53
bugfix: let `balancer.recreate_request` API work for body data change…
oowl Jul 12, 2024
6f311f8
tests: update ngixn to 1.25.3.
zhuizhuhaomeng Jul 12, 2024
ed8cb8f
bugfix: treat shdict entries with ttl equal to 0 as expired.
zhuizhuhaomeng Jul 16, 2024
6768721
doc: update lua-cjson ref link.
leslie-tsang Jul 25, 2024
29fe7a5
dev: util/build.sh: fixed command line argument validation and enviro…
xiaocang Jul 31, 2024
d535753
bugfix: nginx crashed when binding local address failed from lua.
zhuizhuhaomeng Aug 1, 2024
0b5507a
bugfix: added initialization.
zhuizhuhaomeng Aug 1, 2024
5777a36
bugfix: failed to build on the old nginx version.
zhuizhuhaomeng Aug 1, 2024
bf4bdcd
bugfix: fixed keepalive error in cosocket.
zhuizhuhaomeng Aug 6, 2024
b3c6aeb
travis: bumped the NGINX core to 1.27.0.
xiaocang May 30, 2024
0ea5e94
tests: added curl_error for http/3.
xiaocang Jun 4, 2024
f1cbe4a
tests: t/020-subrequest.t: replace the random port with an unused fiv…
xiaocang Jul 3, 2024
2d8fcbe
tests: skip t/163-signal.t in check leak mode.
xiaocang Aug 1, 2024
0cc05a6
tests: t/188-*.t: use random port instead of 8090 port.
xiaocang Aug 2, 2024
f44c188
bumped version of lua-nginx-module to 10027.
xiaocang Aug 8, 2024
d6cf113
feature: update nginx to v1.27.1.
zhuizhuhaomeng Aug 17, 2024
aad278b
tests: bumped the NGINX core to 1.27.1.
xiaocang Aug 17, 2024
ea09d92
bugfix: failed to build on windows.
zhuizhuhaomeng Aug 20, 2024
55f55ef
doc: improve grammar.
jsoref Aug 24, 2024
8ec4f0b
doc: Redraw directives png (#2353)
xiaobiaozhao Aug 30, 2024
816483d
bugfix: `setkeepalive` failure on TLSv1.3
catbro666 Sep 6, 2024
dfeaab4
optimize: removed unreachable code in ngx_http_lua_send_http10_header…
zhuizhuhaomeng Sep 15, 2024
b190a9e
tests: add support for openssl3.0.
zhuizhuhaomeng Sep 18, 2024
24cafc6
tests: fixed CI.
zhuizhuhaomeng Sep 18, 2024
3416740
feature: add ngx.resp.set_status(status, reason).
zhuizhuhaomeng Sep 19, 2024
de1b896
style: remove duplicate check in ngx.send_headers
spacewander Feb 7, 2017
4088194
style: fixed coding style.
zhuizhuhaomeng Sep 19, 2024
a634f10
bugfix: build failure introduced by commit de1b896999c95.
zhuizhuhaomeng Sep 21, 2024
a7eebb4
feature: implemented ngx_http_lua_ffi_decode_base64mime.
moonming Jul 26, 2018
0d9f578
tests: fixed t/062-count.t
zhuizhuhaomeng Sep 21, 2024
2e1718e
bugfix: missing the content-type header introduced by commit de1b8969…
zhuizhuhaomeng Sep 21, 2024
e1ff117
fix: removed null terminator.
n-bes Sep 25, 2024
e6219b0
doc: clarify the backlog option (#2367)
Tieske Oct 3, 2024
9a871dd
doc: clarify base64 for url encoding and padding.
Tieske Oct 15, 2024
501ebac
chore: more accurate error message.
willmafh Oct 27, 2024
950b1fb
bugfix: remove http2 hardcode limitation in `ngx.location` subrequest…
oowl Nov 6, 2024
5bd471a
bumped version of lua-nginx-module to 10028.
zhuizhuhaomeng Jan 17, 2025
004922e
feature: Export three functions for manipulating ngx_http_lua_co_ctx_…
zhuizhuhaomeng Feb 13, 2025
e8f65dc
bugfix: didn't flush send buffer after lua phase(access/rewrite/serve…
zhuizhuhaomeng Feb 15, 2025
53588e9
style: add missing space.
willmafh Mar 2, 2025
ee3dd98
bugfix: unnecessary to do error check.
willmafh Mar 2, 2025
cb0b22d
tests: update SSL certificates.
zhuizhuhaomeng Mar 4, 2025
8f3987f
feature: add function to bypass HTTP conditional request checks (#2401)
tzssangglass Mar 7, 2025
18ce5fb
bugfix: didn't use right hostname when the length of hostname is grea…
zhuizhuhaomeng Mar 21, 2025
bdba93c
bugfix: the modifications in this PR are to supplement the overlooked…
zhuizhuhaomeng Mar 24, 2025
0547c25
feature: add sock:getfd().
zhuizhuhaomeng May 4, 2025
02b5e49
style: fixed coding style.
zhuizhuhaomeng May 4, 2025
bf94a7a
chore: code style consistency.
willmafh May 5, 2025
0581262
bugfix: ensure context is restorable on fd writable events.
bzp2010 May 5, 2025
d1d5b73
feature: added ngx_http_lua_ffi_ssl_get_client_hello_ext_present().
climagabriel May 6, 2025
b328ac1
fix: support tcp binding ip:port or ip of ipv4 or ipv6
oyaya Dec 2, 2024
edd1b6a
bugfix: fixed typo.
zhuizhuhaomeng May 7, 2025
1f4d846
feature: ngx_http_lua_ffi_ssl_get_client_hello_ciphers().
climagabriel May 24, 2025
9688812
tests: bumped openssl to v3.4.1.
zhuizhuhaomeng Jun 9, 2025
4e40c13
tests: update openssl to 3.5.0.
zhuizhuhaomeng Jun 21, 2025
1793b3b
bugfix: improve HTTP/3 SSL Lua callback yield handling.
swananan Jul 1, 2025
25ebf20
tests: add utility script run-ci.sh
zhuizhuhaomeng Jun 30, 2025
9aed90f
feature: add lua_ssl_key_log directive.
willmafh Jul 1, 2025
83ae875
feature: add ngx_http_lua_ffi_req_shared_ssl_ciphers().
chensunny Jul 2, 2025
715e636
tests: update t/142-ssl-session-store.t.
zhuizhuhaomeng Jul 9, 2025
5337179
refactor: typo fixes.
willmafh Jul 16, 2025
d34d3c5
change: ngx_http_lua_ffi_get_req_ssl_pointer() add err argument.
zhuizhuhaomeng Jul 23, 2025
96db53e
doc: update version info.
spacewander Jul 27, 2025
9600893
tests: fix CI configuration and SSL test issues.
swananan Jul 27, 2025
f40ced1
bugfix: remove debugging code.
zhuizhuhaomeng Sep 5, 2025
94c578a
bugfix: add HTTP/3 QUIC SSL Lua yield patch macro protection.
swananan Sep 14, 2025
cc8b067
feature: add support for nginx-1.29.2.
zhuizhuhaomeng Oct 13, 2025
eb2b57f
tests: fixed CI.
zhuizhuhaomeng Oct 14, 2025
03d8883
feature: proxy_ssl_verify_by_lua directives.
willmafh Oct 14, 2025
dc8de6e
bugfix: resume QUIC handshake for OpenSSL external QUIC API builds
swananan Oct 18, 2025
8d553f0
bugfix: Nginx introduces ssl client hello callback in version 1.29.2.
willmafh Oct 19, 2025
13ba02a
tests: fixed CI.
willmafh Oct 20, 2025
529dc7a
feature: bumped api version to 0.10.29.
zhuizhuhaomeng Oct 21, 2025
9f1b459
bugfix: failed to build with openssl < 3.0.2.
zhuizhuhaomeng Oct 22, 2025
9d930a7
bugfix: failed to build with openssl 1.x.x/boringssl/libressl.
zhuizhuhaomeng Oct 22, 2025
1a71cc8
bugfix: typo fixes.
willmafh Oct 23, 2025
a47ad52
bugfix: resolve subrequest cycle issue when Lua code cache is disabled.
gavin0616 Oct 23, 2025
90491ed
doc: tcpsock getfd typo.
bzp2010 Oct 23, 2025
47e8d8b
doc: update latest compatible nginx version.
zhuizhuhaomeng Oct 23, 2025
a1ec138
bugfix: didn't free ngx_regex_match_context.
zhuizhuhaomeng Oct 24, 2025
54e8135
tests: improve openssl version check in test cases.
willmafh Oct 26, 2025
de02114
optimize: add compatibility for freenginx.
osokin Nov 3, 2025
562e106
doc: fixed typo.
leslie-tsang Nov 8, 2025
971cc14
doc: update copyright.
zhuizhuhaomeng Nov 13, 2025
1a954ef
feature: add ngx_http_lua_ffi_get_upstream_ssl_pointer.
zhuizhuhaomeng Nov 27, 2025
9a810a9
feature: add socket options keepintvl and keepcnt for tcp.
zhuizhuhaomeng Dec 13, 2025
9ce0543
doc: typo fixes and delete incorrect statements.
willmafh Dec 16, 2025
4f120c1
bugfix: fix the compatibility issues.
zhuizhuhaomeng Dec 16, 2025
16612cb
bugfix: fix the compatibility issues.
zhuizhuhaomeng Dec 16, 2025
4f9633e
tests: update nginx to 1.29.4.
zhuizhuhaomeng Dec 16, 2025
5202d2d
tests: add tests for http2 upstream.
zhuizhuhaomeng Dec 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 22 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ addons:
- libunwind-dev
- wget
- libbrotli1
- lsb-release
- wget
- gnupg
- ca-certificates

cache:
directories:
Expand All @@ -42,15 +46,12 @@ env:
- LUAJIT_LIB=$LUAJIT_PREFIX/lib
- LUAJIT_INC=$LUAJIT_PREFIX/include/luajit-2.1
- LUA_INCLUDE_DIR=$LUAJIT_INC
- PCRE_VER=8.45
- PCRE2_VER=10.37
- PCRE_PREFIX=/opt/pcre
#- PCRE2_PREFIX=/usr/local/openresty/pcre2
- PCRE2_PREFIX=/opt/pcre2
- PCRE_LIB=$PCRE_PREFIX/lib
- PCRE2_LIB=$PCRE2_PREFIX/lib
- PCRE_INC=$PCRE_PREFIX/include
- PCRE2_INC=$PCRE2_PREFIX/include
- OPENSSL_PREFIX=/opt/ssl
#- OPENSSL_PREFIX=/usr/local/openresty/openssl3
- OPENSSL_PREFIX=/opt/openssl3
- OPENSSL_LIB=$OPENSSL_PREFIX/lib
- OPENSSL_INC=$OPENSSL_PREFIX/include
- LIBDRIZZLE_PREFIX=/opt/drizzle
Expand All @@ -61,12 +62,10 @@ env:
- TEST_NGINX_SLEEP=0.006
- MALLOC_PERTURB_=9
jobs:
#- NGINX_VERSION=1.21.4 OPENSSL_VER=1.1.0l OPENSSL_PATCH_VER=1.1.0d
- NGINX_VERSION=1.21.4 OPENSSL_VER=1.1.1s OPENSSL_PATCH_VER=1.1.1f
#- NGINX_VERSION=1.25.1 OPENSSL_VER=1.1.0l OPENSSL_PATCH_VER=1.1.0d
- NGINX_VERSION=1.25.1 OPENSSL_VER=1.1.1s OPENSSL_PATCH_VER=1.1.1f USE_PCRE2=Y
- NGINX_VERSION=1.25.1 BORINGSSL=1 TEST_NGINX_USE_HTTP3=1 USE_PCRE2=Y
#- NGINX_VERSION=1.25.1 OPENSSL_VER=1.1.1s TEST_NGINX_USE_HTTP2=1
- NGINX_VERSION=1.29.4 OPENSSL_VER=3.5.4 OPENSSL_PATCH_VER=3.5.4 TEST_NGINX_TIMEOUT=5 PCRE2_VER=10.46
- NGINX_VERSION=1.29.4 OPENSSL_VER=3.5.4 OPENSSL_PATCH_VER=3.5.4 TEST_NGINX_TIMEOUT=5 PCRE2_VER=10.46 TEST_NGINX_USE_HTTP2=1
- NGINX_VERSION=1.29.4 OPENSSL_VER=3.5.4 OPENSSL_PATCH_VER=3.5.4 TEST_NGINX_USE_HTTP3=1 TEST_NGINX_QUIC_IDLE_TIMEOUT=3 PCRE2_VER=10.46
- NGINX_VERSION=1.29.4 BORINGSSL=1 TEST_NGINX_USE_HTTP3=1 TEST_NGINX_QUIC_IDLE_TIMEOUT=3 PCRE2_VER=10.46

services:
- memcached
Expand All @@ -77,13 +76,16 @@ before_install:
- '! grep -n -P ''(?<=.{80}).+'' --color `find src -name ''*.c''` `find . -name ''*.h''` || (echo "ERROR: Found C source lines exceeding 80 columns." > /dev/stderr; exit 1)'
- '! grep -n -P ''\t+'' --color `find src -name ''*.c''` `find . -name ''*.h''` || (echo "ERROR: Cannot use tabs." > /dev/stderr; exit 1)'
- /usr/bin/env perl $(command -v cpanm) --sudo --notest Test::Nginx IPC::Run > build.log 2>&1 || (cat build.log && exit 1)
- wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
- echo "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/openresty.list
- sudo apt-get update
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openresty-pcre2 openresty-openssl3 openresty-pcre2-dev openresty-openssl3-dev


install:
- if [ ! -f download-cache/drizzle7-$DRIZZLE_VER.tar.gz ]; then wget -P download-cache https://github.com/openresty/openresty-deps-prebuild/releases/download/v20230902/drizzle7-$DRIZZLE_VER.tar.gz; fi
- if [ "$USE_PCRE2" != "Y" ] && [ ! -f download-cache/pcre-$PCRE_VER.tar.gz ]; then wget -P download-cache https://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VER}/pcre-${PCRE_VER}.tar.gz; fi
- if [ "$USE_PCRE2" = "Y" ] && [ ! -f download-cache/pcre2-$PCRE2_VER.tar.gz ]; then wget -P download-cache https://downloads.sourceforge.net/project/pcre/pcre2/${PCRE2_VER}/pcre2-${PCRE2_VER}.tar.gz; fi
- if [ -n "$OPENSSL_VER" ] && [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
- if [ -n "$OPENSSL_VER" ] && [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
- if [ -n "$PCRE2_VER" ] && [ ! -f download-cache/pcre2-$PCRE2_VER.tar.gz ]; then wget -P download-cache https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PCRE2_VER}/pcre2-${PCRE2_VER}.tar.gz; fi
- if [ -n "$OPENSSL_VER" ] && [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://github.com/openssl/openssl/releases/download/openssl-$OPENSSL_VER/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
- wget https://github.com/openresty/openresty-deps-prebuild/releases/download/v20230902/boringssl-20230902-x64-focal.tar.gz
- wget https://github.com/openresty/openresty-deps-prebuild/releases/download/v20230902/curl-h3-x64-focal.tar.gz
- git clone https://github.com/openresty/test-nginx.git
Expand Down Expand Up @@ -135,10 +137,9 @@ script:
- sudo make install-libdrizzle-1.0 > build.log 2>&1 || (cat build.log && exit 1)
- cd ../mockeagain/ && make CC=$CC -j$JOBS && cd ..
- cd lua-cjson/ && make -j$JOBS && sudo make install && cd ..
- if [ "$USE_PCRE2" != "Y" ]; then tar zxf download-cache/pcre-$PCRE_VER.tar.gz; cd pcre-$PCRE_VER/; ./configure --prefix=$PCRE_PREFIX --enable-jit --enable-utf --enable-unicode-properties > build.log 2>&1 || (cat build.log && exit 1); make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1); sudo PATH=$PATH make install > build.log 2>&1 || (cat build.log && exit 1); cd ..; fi
- if [ "$USE_PCRE2" = "Y" ]; then tar zxf download-cache/pcre2-$PCRE2_VER.tar.gz; cd pcre2-$PCRE2_VER/; ./configure --prefix=$PCRE2_PREFIX --enable-jit --enable-utf > build.log 2>&1 || (cat build.log && exit 1); make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1); sudo PATH=$PATH make install > build.log 2>&1 || (cat build.log && exit 1); cd ..; fi
- if [ -n "$OPENSSL_VER" ]; then tar zxf download-cache/openssl-$OPENSSL_VER.tar.gz; cd openssl-$OPENSSL_VER/; patch -p1 < ../../openresty/patches/openssl-$OPENSSL_PATCH_VER-sess_set_get_cb_yield.patch; ./config shared enable-ssl3 enable-ssl3-method -g --prefix=$OPENSSL_PREFIX -DPURIFY > build.log 2>&1 || (cat build.log && exit 1); make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1); sudo make PATH=$PATH install_sw > build.log 2>&1 || (cat build.log && exit 1); cd ..; fi
- if [ -n "$BORINGSSL" ]; then sudo mkdir -p /opt/ssl && sudo tar -C /opt/ssl -xf boringssl-20230902-x64-focal.tar.gz --strip-components=1; fi
- if [ -n "$PCRE2_VER" ]; then tar zxf download-cache/pcre2-$PCRE2_VER.tar.gz; cd pcre2-$PCRE2_VER/; ./configure --prefix=$PCRE2_PREFIX --enable-jit --enable-utf > build.log 2>&1 || (cat build.log && exit 1); make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1); sudo PATH=$PATH make install > build.log 2>&1 || (cat build.log && exit 1); cd ..; fi
- if [ -n "$OPENSSL_VER" ]; then tar zxf download-cache/openssl-$OPENSSL_VER.tar.gz; cd openssl-$OPENSSL_VER/; patch -p1 < ../../openresty/patches/openssl-$OPENSSL_PATCH_VER-sess_set_get_cb_yield.patch; ./config shared enable-ssl3 enable-ssl3-method -g --prefix=$OPENSSL_PREFIX --libdir=lib -DPURIFY > build.log 2>&1 || (cat build.log && exit 1); make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1); sudo make PATH=$PATH install_sw > build.log 2>&1 || (cat build.log && exit 1); cd ..; fi
- if [ -n "$BORINGSSL" ]; then sudo rm -fr /usr/local/openresty/openssl3/ && sudo mkdir -p /usr/local/openresty/openssl3 && sudo tar -C /usr/local/openresty/openssl3 -xf boringssl-20230902-x64-focal.tar.gz --strip-components=1; fi
- export NGX_BUILD_CC=$CC
- sh util/build-without-ssl.sh $NGINX_VERSION > build.log 2>&1 || (cat build.log && exit 1)
- sh util/build-with-dd.sh $NGINX_VERSION > build.log 2>&1 || (cat build.log && exit 1)
Expand All @@ -155,4 +156,4 @@ script:
- dig +short myip.opendns.com @resolver1.opendns.com || exit 0
- dig +short @$TEST_NGINX_RESOLVER openresty.org || exit 0
- dig +short @$TEST_NGINX_RESOLVER agentzh.org || exit 0
- /usr/bin/env perl $(command -v prove) -I. -Itest-nginx/lib -r t/
- /usr/bin/env perl $(command -v prove) -I. -Itest-nginx/inc -Itest-nginx/lib -r t/
Loading
Loading