Skip to content

Commit c6fb6ea

Browse files
committed
Merge branch 'develop'
* develop: update Readme update makefile for x86 and x64 build openssl 1.0.2j for x64 build openssl 1.0.2h for x86 nginx upgrade to 1.11.5 加入一个导出函数
2 parents 19f0b94 + 108c404 commit c6fb6ea

File tree

672 files changed

+14204
-27609
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

672 files changed

+14204
-27609
lines changed

Readme-en.md

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,22 @@
33

44
### lastest release ###
55

6-
version:1.11.4.1001
6+
version:1.11.5.1001
77

8-
32 bit: http://pan.baidu.com/s/1o7ZBGz4
8+
32 bit: http://pan.baidu.com/s/1nvMysvn
99

10-
64 bit: http://pan.baidu.com/s/1mig1zcs
10+
64 bit: http://pan.baidu.com/s/1nv1z993
1111

12-
>Publish Time: 2016-09-14
12+
>Publish Time: 2016-10-14
1313
1414
>Changelog:
1515
1616
>Nginx:
17-
- upgrade nginx core to 1.11.4
18-
19-
>Modules:
20-
- upgrade echo-nginx-module to 0.60
21-
- upgrade encrypted-session-nginx-module to 0.06
22-
- upgrade headers-more-nginx-module to 0.31
23-
- upgrade ngx_lua_upstream to 0.06
24-
- upgrade ngx_lua_module to 0.10.6
25-
- upgrade set-misc-nginx-module to 0.31
17+
- upgrade nginx core to 1.11.5
2618

2719
>Libs:
28-
- upgrade lua-resty-core to 0.1.8
29-
- upgrade lua-resty-dns to 0.17
30-
- upgrade lua-resty-redis to 0.25
20+
- upgrade openssl to 1.0.2j
3121

32-
>Tools:
33-
- upgrade resty-cli to 0.13
3422

3523

3624
### about ###
@@ -445,4 +433,34 @@ version:1.11.3.1001
445433
446434
>Changelog:
447435
448-
- update nginx core to 1.11.3
436+
- update nginx core to 1.11.3
437+
438+
439+
version:1.11.4.1001
440+
441+
32 bit: http://pan.baidu.com/s/1o7ZBGz4
442+
443+
64 bit: http://pan.baidu.com/s/1mig1zcs
444+
445+
>Publish Time: 2016-09-14
446+
447+
>Changelog:
448+
449+
>Nginx:
450+
- upgrade nginx core to 1.11.4
451+
452+
>Modules:
453+
- upgrade echo-nginx-module to 0.60
454+
- upgrade encrypted-session-nginx-module to 0.06
455+
- upgrade headers-more-nginx-module to 0.31
456+
- upgrade ngx_lua_upstream to 0.06
457+
- upgrade ngx_lua_module to 0.10.6
458+
- upgrade set-misc-nginx-module to 0.31
459+
460+
>Libs:
461+
- upgrade lua-resty-core to 0.1.8
462+
- upgrade lua-resty-dns to 0.17
463+
- upgrade lua-resty-redis to 0.25
464+
465+
>Tools:
466+
- upgrade resty-cli to 0.13

Readme.md

Lines changed: 36 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,21 @@
33

44
### 最新版本 ###
55

6-
版本号:1.11.4.1001
6+
版本号:1.11.5.1001
77

8-
32 位下载地址: http://pan.baidu.com/s/1o7ZBGz4
8+
32 位下载地址: http://pan.baidu.com/s/1nvMysvn
99

10-
64 位下载地址: http://pan.baidu.com/s/1mig1zcs
10+
64 位下载地址: http://pan.baidu.com/s/1nv1z993
1111

12-
>发布时间: 2016-09-14
12+
>发布时间: 2016-10-14
1313
1414
>修改日志:
1515
>Nginx:
16-
- 更新 nginx core 到 1.11.4
17-
18-
>Modules:
19-
- 更新 echo-nginx-module 到 0.60
20-
- 更新 encrypted-session-nginx-module 到 0.06
21-
- 更新 headers-more-nginx-module 到 0.31
22-
- 更新 ngx_lua_upstream 到 0.06
23-
- 更新 ngx_lua_module 到 0.10.6
24-
- 更新 set-misc-nginx-module 到 0.31
16+
- 更新 nginx core 到 1.11.5
2517

2618
>Libs:
27-
- 更新 lua-resty-core 到 0.1.8
28-
- 更新 lua-resty-dns 到 0.17
29-
- 更新 lua-resty-redis 到 0.25
19+
- 更新 openssl 到 1.0.2j
3020

31-
>Tools:
32-
- 更新 resty-cli 到 0.13
3321

3422
### 关于 ###
3523

@@ -443,4 +431,33 @@ Version:1.9.7.1001
443431
>发布时间: 2016-08-03
444432
445433
>修改日志:
446-
- 更新nginx core 到1.11.3
434+
- 更新nginx core 到1.11.3
435+
436+
437+
版本号:1.11.4.1001
438+
439+
32 位下载地址: http://pan.baidu.com/s/1o7ZBGz4
440+
441+
64 位下载地址: http://pan.baidu.com/s/1mig1zcs
442+
443+
>发布时间: 2016-09-14
444+
445+
>修改日志:
446+
>Nginx:
447+
- 更新 nginx core 到 1.11.4
448+
449+
>Modules:
450+
- 更新 echo-nginx-module 到 0.60
451+
- 更新 encrypted-session-nginx-module 到 0.06
452+
- 更新 headers-more-nginx-module 到 0.31
453+
- 更新 ngx_lua_upstream 到 0.06
454+
- 更新 ngx_lua_module 到 0.10.6
455+
- 更新 set-misc-nginx-module 到 0.31
456+
457+
>Libs:
458+
- 更新 lua-resty-core 到 0.1.8
459+
- 更新 lua-resty-dns 到 0.17
460+
- 更新 lua-resty-redis 到 0.25
461+
462+
>Tools:
463+
- 更新 resty-cli 到 0.13

src/nginx/auto/lib/geoip/conf

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,15 @@ if [ $ngx_found = yes ]; then
7474

7575
NGX_LIB_GEOIP=$ngx_feature_libs
7676

77-
if [ $NGX_IPV6 = YES ]; then
78-
ngx_feature="GeoIP IPv6 support"
79-
ngx_feature_name="NGX_HAVE_GEOIP_V6"
80-
ngx_feature_run=no
81-
ngx_feature_incs="#include <stdio.h>
82-
#include <GeoIP.h>"
83-
#ngx_feature_path=
84-
#ngx_feature_libs=
85-
ngx_feature_test="printf(\"%d\", GEOIP_CITY_EDITION_REV0_V6);"
86-
. auto/feature
87-
fi
77+
ngx_feature="GeoIP IPv6 support"
78+
ngx_feature_name="NGX_HAVE_GEOIP_V6"
79+
ngx_feature_run=no
80+
ngx_feature_incs="#include <stdio.h>
81+
#include <GeoIP.h>"
82+
#ngx_feature_path=
83+
#ngx_feature_libs=
84+
ngx_feature_test="printf(\"%d\", GEOIP_CITY_EDITION_REV0_V6);"
85+
. auto/feature
8886

8987
else
9088

src/nginx/auto/lib/perl/conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ if test -n "$NGX_PERL_VER"; then
2828
exit 1;
2929
fi
3030

31-
NGX_PERL_CFLAGS="$CFLAGS `$NGX_PERL -MExtUtils::Embed -e ccopts`"
3231
NGX_PM_CFLAGS=`$NGX_PERL -MExtUtils::Embed -e ccopts`
32+
NGX_PM_LDFLAGS=`$NGX_PERL -MConfig -e 'print $Config{lddlflags}'`
33+
34+
NGX_PERL_CFLAGS="$CFLAGS `$NGX_PERL -MExtUtils::Embed -e ccopts`"
3335

3436
# gcc 4.1/4.2 warn about unused values in pTHX_
3537
NGX_PERL_CFLAGS=`echo $NGX_PERL_CFLAGS \

src/nginx/auto/lib/perl/make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ $NGX_OBJS/src/http/modules/perl/Makefile: \\
3535

3636
cd $NGX_OBJS/src/http/modules/perl \\
3737
&& NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \\
38+
NGX_PM_LDFLAGS="$NGX_LD_OPT \$(NGX_PM_LDFLAGS)" \\
3839
NGX_INCS="$CORE_INCS $NGX_OBJS $HTTP_INCS" \\
3940
NGX_DEPS="\$(CORE_DEPS) \$(HTTP_DEPS)" \\
4041
$NGX_PERL Makefile.PL \\

src/nginx/auto/make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ END
3131
if test -n "$NGX_PERL_CFLAGS"; then
3232
echo NGX_PERL_CFLAGS = $NGX_PERL_CFLAGS >> $NGX_MAKEFILE
3333
echo NGX_PM_CFLAGS = $NGX_PM_CFLAGS >> $NGX_MAKEFILE
34+
echo NGX_PM_LDFLAGS = $NGX_PM_LDFLAGS >> $NGX_MAKEFILE
3435
fi
3536

3637

src/nginx/auto/modules

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,8 @@ if [ $STREAM != NO ]; then
973973
ngx_stream_core_module \
974974
ngx_stream_log_module \
975975
ngx_stream_proxy_module \
976-
ngx_stream_upstream_module"
976+
ngx_stream_upstream_module \
977+
ngx_stream_write_filter_module"
977978
ngx_module_incs="src/stream"
978979
ngx_module_deps="src/stream/ngx_stream.h \
979980
src/stream/ngx_stream_variables.h \
@@ -988,7 +989,8 @@ if [ $STREAM != NO ]; then
988989
src/stream/ngx_stream_log_module.c \
989990
src/stream/ngx_stream_proxy_module.c \
990991
src/stream/ngx_stream_upstream.c \
991-
src/stream/ngx_stream_upstream_round_robin.c"
992+
src/stream/ngx_stream_upstream_round_robin.c \
993+
src/stream/ngx_stream_write_filter_module.c"
992994

993995
. auto/module
994996

@@ -1118,6 +1120,16 @@ if [ $STREAM != NO ]; then
11181120

11191121
. auto/module
11201122
fi
1123+
1124+
if [ $STREAM_SSL_PREREAD = YES ]; then
1125+
ngx_module_name=ngx_stream_ssl_preread_module
1126+
ngx_module_deps=
1127+
ngx_module_srcs=src/stream/ngx_stream_ssl_preread_module.c
1128+
ngx_module_libs=
1129+
ngx_module_link=$STREAM_SSL_PREREAD
1130+
1131+
. auto/module
1132+
fi
11211133
fi
11221134

11231135

@@ -1300,6 +1312,18 @@ fi
13001312
modules="$modules $MISC_MODULES"
13011313

13021314

1315+
if [ $NGX_COMPAT = YES ]; then
1316+
have=NGX_COMPAT . auto/have
1317+
have=NGX_HTTP_GZIP . auto/have
1318+
have=NGX_HTTP_DAV . auto/have
1319+
have=NGX_HTTP_REALIP . auto/have
1320+
have=NGX_HTTP_X_FORWARDED_FOR . auto/have
1321+
have=NGX_HTTP_HEADERS . auto/have
1322+
have=NGX_HTTP_UPSTREAM_ZONE . auto/have
1323+
have=NGX_STREAM_UPSTREAM_ZONE . auto/have
1324+
fi
1325+
1326+
13031327
cat << END > $NGX_MODULES_C
13041328

13051329
#include <ngx_config.h>

src/nginx/auto/options

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ EVENT_POLL=NO
4444
USE_THREADS=NO
4545

4646
NGX_FILE_AIO=NO
47-
NGX_IPV6=NO
4847

4948
HTTP=YES
5049

@@ -126,13 +125,16 @@ STREAM_RETURN=YES
126125
STREAM_UPSTREAM_HASH=YES
127126
STREAM_UPSTREAM_LEAST_CONN=YES
128127
STREAM_UPSTREAM_ZONE=YES
128+
STREAM_SSL_PREREAD=NO
129129

130130
DYNAMIC_MODULES=
131131

132132
NGX_ADDONS=
133133
NGX_ADDON_DEPS=
134134
DYNAMIC_ADDONS=
135135

136+
NGX_COMPAT=NO
137+
136138
USE_PCRE=NO
137139
PCRE=NONE
138140
PCRE_OPT=
@@ -201,7 +203,11 @@ do
201203
--with-threads) USE_THREADS=YES ;;
202204

203205
--with-file-aio) NGX_FILE_AIO=YES ;;
204-
--with-ipv6) NGX_IPV6=YES ;;
206+
207+
--with-ipv6)
208+
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
209+
$0: warning: the \"--with-ipv6\" option is deprecated"
210+
;;
205211

206212
--without-http) HTTP=NO ;;
207213
--without-http-cache) HTTP_CACHE=NO ;;
@@ -301,6 +307,8 @@ use the \"--with-mail_ssl_module\" option instead"
301307
--with-stream_geoip_module) STREAM_GEOIP=YES ;;
302308
--with-stream_geoip_module=dynamic)
303309
STREAM_GEOIP=DYNAMIC ;;
310+
--with-stream_ssl_preread_module)
311+
STREAM_SSL_PREREAD=YES ;;
304312
--without-stream_limit_conn_module)
305313
STREAM_LIMIT_CONN=NO ;;
306314
--without-stream_access_module) STREAM_ACCESS=NO ;;
@@ -322,6 +330,8 @@ use the \"--with-mail_ssl_module\" option instead"
322330
--add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;;
323331
--add-dynamic-module=*) DYNAMIC_ADDONS="$DYNAMIC_ADDONS $value" ;;
324332

333+
--with-compat) NGX_COMPAT=YES ;;
334+
325335
--with-cc=*) CC="$value" ;;
326336
--with-cpp=*) CPP="$value" ;;
327337
--with-cc-opt=*) NGX_CC_OPT="$value" ;;
@@ -417,7 +427,6 @@ cat << END
417427
--with-threads enable thread pool support
418428

419429
--with-file-aio enable file AIO support
420-
--with-ipv6 enable IPv6 support
421430

422431
--with-http_ssl_module enable ngx_http_ssl_module
423432
--with-http_v2_module enable ngx_http_v2_module
@@ -508,6 +517,7 @@ cat << END
508517
--with-stream_realip_module enable ngx_stream_realip_module
509518
--with-stream_geoip_module enable ngx_stream_geoip_module
510519
--with-stream_geoip_module=dynamic enable dynamic ngx_stream_geoip_module
520+
--with-stream_ssl_preread_module enable ngx_stream_ssl_preread_module
511521
--without-stream_limit_conn_module disable ngx_stream_limit_conn_module
512522
--without-stream_access_module disable ngx_stream_access_module
513523
--without-stream_geo_module disable ngx_stream_geo_module
@@ -528,6 +538,8 @@ cat << END
528538
--add-module=PATH enable external module
529539
--add-dynamic-module=PATH enable dynamic external module
530540

541+
--with-compat dynamic modules compatibility
542+
531543
--with-cc=PATH set C compiler pathname
532544
--with-cpp=PATH set C preprocessor pathname
533545
--with-cc-opt=OPTIONS set additional C compiler options

src/nginx/auto/os/win32

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ if [ $EVENT_SELECT = NO ]; then
3838
EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE"
3939
fi
4040

41-
if [ $NGX_IPV6 = YES ]; then
42-
have=NGX_HAVE_INET6 . auto/have
43-
fi
41+
have=NGX_HAVE_INET6 . auto/have
4442

4543
have=NGX_HAVE_IOCP . auto/have

src/nginx/auto/sources

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ UNIX_SRCS="$CORE_SRCS $EVENT_SRCS \
167167
src/os/unix/ngx_send.c \
168168
src/os/unix/ngx_writev_chain.c \
169169
src/os/unix/ngx_udp_send.c \
170+
src/os/unix/ngx_udp_sendmsg_chain.c \
170171
src/os/unix/ngx_channel.c \
171172
src/os/unix/ngx_shmem.c \
172173
src/os/unix/ngx_process.c \

0 commit comments

Comments
 (0)