File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 2323 matrix :
2424 - NGINX_VERSION=1.19.3
2525 - NGINX_VERSION=1.19.9
26- - NGINX_VERSION=1.23.0
26+ - NGINX_VERSION=1.23.0 WITHOUT_PCRE2=1
2727
2828before_install :
2929 - sudo apt-get update -y
Original file line number Diff line number Diff line change @@ -335,6 +335,9 @@ ngx_http_set_header_helper(ngx_http_request_t *r,
335335
336336 h -> key = hv -> key ;
337337 h -> value = * value ;
338+ #if defined(nginx_version ) && nginx_version >= 1023000
339+ h -> next = NULL ;
340+ #endif
338341
339342 h -> lowcase_key = ngx_pnalloc (r -> pool , h -> key .len );
340343 if (h -> lowcase_key == NULL ) {
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ root=`pwd`
66version=$1
77home=~
88force=$2
9+ pcre2_opt=" "
10+ if [ " $WITHOUT_PCRE2 " = " 1" ]; then
11+ pcre2_opt=" --without-pcre2"
12+ fi
913
1014 # --with-cc=gcc46 \
1115
@@ -21,6 +25,7 @@ ngx-build $force $version \
2125 --without-http_autoindex_module \
2226 --without-http_auth_basic_module \
2327 --without-http_userid_module \
28+ $pcre2_opt \
2429 --with-http_realip_module \
2530 --with-http_dav_module \
2631 --add-module=$root /../eval-nginx-module \
You can’t perform that action at this time.
0 commit comments