Skip to content

Commit a52d244

Browse files
committed
modify some files for release 2.3.0 version.
1 parent a53ad5d commit a52d244

File tree

8 files changed

+121
-3
lines changed

8 files changed

+121
-3
lines changed

CHANGES.cn

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
Tengine 2.3.0 [2019-03-20]
2+
3+
* Feature: 新增proxy_connect模块,可以支持HTTP的CONNECT方法 [chobits]
4+
* Feature: Stream模块server配置块支持server_name指令 [mrpre]
5+
* Feature: reqstat模块新增req_status_lazy指令 [taoyuanyuan]
6+
* Feature: 新增http2指令,可以在server配置块中控制http2开关 [jinjiu]
7+
* Feature: 新增ssl_handshake_time变量,统计SSL握手时间 [jinjiu]
8+
* Feature: limit_req_zone指令的rate参数支持变量模式 [Alaaask]
9+
* Change: 更新debug_pool模块,适配Nginx官方1.15.9 [chobits]
10+
* Change: 更新reuse_port、dso、limit_req指令使用文档 [chobits、wangfakang]
11+
* Change: 合并官方limit_req逻辑,当对应key所有的变量值为空才跳过统计 [chobits]
12+
* Change: 删除reuse_port、dso、slice指令,统一使用Nginx官方对应的功能 [wangfakang]
13+
* Change: 适配并合并官方1.15.9测试用列 [chobits、wangfakang]
14+
* Change: 对Tengine自身模块全部剥离到modules目录下,减少对core的入侵 [chobits、wangfakang]
15+
* Change: 升级合并官方1.15.9代码,并同步官方新功能如Stream、gRPC等 [chobits、wangfakang]
16+
* Change: 更新Lua模块至v0.10.14rc4 [wangfakang]
17+
* Change: 更新dyups文档 [lf1029698952]
18+
* Change: 对core代码的修改全部使用宏区分开 [chobits、wangfakang、fankeke、hongxiaolong、imkeeper]
19+
* Change: 恢复accpte_filter功能 [wangfakang]
20+
* Bugfix: 修复dyups模块在和高版本OpenSSL一起编译的报错问题 [wangfakang]
21+
* Bugfix: 修复dyups模块init_number初始化逻辑 [FengXingYuXin]
22+
* Bugfix: 修复rollback日志进程在reload时可能导致日志写到滚动后的文件里面 [MengqiWu]
23+
* Bugfix: 修复ssl_verify_client_exception指令导致的coredump问题 [chobits]
24+
* Bugfix: 修复dyups、session_sticky模块在升级core代码后导致的coredump问题 [wangfakang]
25+
* Bugfix: 修复limit_req、http2模块的编译错误 [hongxiaolong]
26+
* Bugfix: 修复日志pipe进程在关闭监听socket时误删除监听Unix domain文件 [wangfakang]
27+
* Bugfix: 修复静态加载OpenSSL库时导致async openssl无法检测 [mrpre]
28+
* Bugfix: 修复ngx_http_top_input_body_filter被删除的问题 [chobits]
29+
* Bugfix: 修复reuse_port和accept_mutex指令冲突问题 [innomentats]
30+
* Bugfix: 修复在高版本GCC下的编译报错问题 [wangfakang]
31+
32+
Tengine 2.2.3 [2018-11-11]
33+
* Security: 修复安全漏洞CVE-2018-16843,CVE-2018-16844和CVE-2018-16845 [chobits]
34+
135
Tengine 2.2.2 [2018-01-26]
236
* Feature: 支持异步OpenSSL,可使用相关硬件(如:QAT)进行SSL的卸载 [mrpre]
337
* Feature: 支持TLS1.3,TLS握手0-RTT [jlijian3]

CHANGES.te

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
Changes with Tengine 2.3.0 20 MAR 2019
2+
3+
*) Feature: added proxy_connect module support for the CONNECT
4+
HTTP method. (chobits)
5+
*) Feature: added server_name directive for Stream module. (mrpre)
6+
*) Feature: added req_status_lazy directive for reqstat module. (taoyuanyuan)
7+
*) Feature: added http2 directive to enable or disable http2
8+
in the server block. (jinjiu)
9+
*) Feature: added $ssl_handshake_time variable used for monitoring
10+
SSL handshake time. (jinjiu)
11+
*) Feature: added support of variable of limit_req_zone
12+
parameter rate. (Alaaask)
13+
*) Change: updated debug_pool module for Nginx 1.15.9. (chobits)
14+
*) Change: updated documents for reuse_port、dso、limit_req
15+
directive changes. (chobits、wangfakang)
16+
*) Change: merged the official limit_req logic. Now will ignore statistics
17+
when all variable values are empty. (chobits)
18+
*) Change: the reuse_port、dso、slice directive has been removed and
19+
use the official features of Nginx. (wangfakang)
20+
*) Change: updated and modify the official 1.15.9 test cases.
21+
(chobits、wangfakang)
22+
*) Change: put all Tengine's modules into the modules directory
23+
which reduces the intrusion of Nginx's core module. (chobits、wangfakang)
24+
*) Change: updated the code from Nginx-1.15.9 version,
25+
Stream、gRPC etc. (chobits、wangfakang)
26+
*) Change: updated the Lua module to v0.10.14rc4. (wangfakang)
27+
*) Change: updated the dyups document. (lf1029698952)
28+
*) Change: changes of the core code are all guarded by macros.
29+
(chobits、wangfakang、fankeke、hongxiaolong、imkeeper)
30+
*) Change: rollback accpte_filter feature. (wangfakang)
31+
*) Bugfix: fixed compilation error of dyups module compiled
32+
with a higher version of OpenSSL. (wangfakang)
33+
*) Bugfix: fixed init_number initialization for dyups. (FengXingYuXin)
34+
*) Bugfix: fixed the rollback log process that may cause logs
35+
to be written to a rolled-up file when reloaded. (MengqiWu)
36+
*) Bugfix: fixed coredump of referring null pointer
37+
for ssl_verify_client_exception. (chobits)
38+
*) Bugfix: fixed coredump caused by upgrading core code
39+
in dyups and session_sticky modules. (wangfakang)
40+
*) Bugfix: fixed compilation error of limit_req、http2 module. (hongxiaolong)
41+
*) Bugfix: fixed removes the Unix domain socket file
42+
when pipe proc close listen socket. (wangfakang)
43+
*) Bugfix: fixed compatibility for --with-openssl
44+
and --with-openssl-async. (mrpre)
45+
*) Bugfix: fixed bug that function ngx_http_top_intput_body_filter
46+
is removed mistakenly. (chobits)
47+
*) Bugfix: fixed reuse_port and accept_mutex conflict. (innomentats)
48+
*) Bugfix: fixed tengine build failure when compiled with
49+
gcc7 compiler. (wangfakang)
50+
51+
52+
Changes with Tengine 2.2.3 11 Nov 2018
53+
54+
*) Security: fixed CVE-2018-16843, CVE-2018-16844 and
55+
CVE-2018-16845. (chobits)
56+
157
Changes with Tengine 2.2.2 26 Jan 2018
258

359
*) Feature: support asynchronous SSL/TLS mode, Could use QAT to

README

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Tengine has been an open source project since December 2011. It is being activel
88

99
Features
1010
--------
11-
* All features of nginx-1.8.1 are inherited, i.e., it is 100% compatible with nginx.
11+
* All features of nginx-1.9.15 are inherited, i.e., it is 100% compatible with nginx.
12+
* Support the CONNECT HTTP method. could be used in forward proxy scenarios.
13+
* Support asynchronous OpenSSL, using hardware such as QAT for HTTPS acceleration.
1214
* Dynamic module loading support. You don't need to recompile Tengine when adding new modules to it.
1315
* HTTP/2 support. The ngx_http_v2_module supersedes the ngx_http_spdy_module module.
1416
* Sends unbuffered upload directly to HTTP and FastCGI backend servers, which saves disk I/Os.

docs/core.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ The force_exit support is not enabled by default. You should compile it explicit
1919
./configure --with-force-exit
2020
```
2121

22+
Note: Removed force_exit directive after the Tengine-2.3.0 version and use Nginx official `worker_shutdown_timeout` , detailed reference [worker_shutdown_timeout](http://nginx.org/en/docs/ngx_core_module.html#worker_shutdown_timeout)
23+
2224

2325
### worker_processes
2426

docs/core_cn.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ force_exit功能默认没有编译开启。需要编译时开启:
1717
```
1818
./configure --with-force-exit
1919
```
20+
注意:Tengine-2.3.0 版本后废弃force_exit指令,使用Nginx官方`worker_shutdown_timeout`指令替代,详细[文档](http://nginx.org/en/docs/ngx_core_module.html#worker_shutdown_timeout)
2021

2122

2223
### worker_processes

docs/modules/ngx_http_reqstat_module.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,14 @@ Define the recycle threshold for a zone. Recycle will be switched on when the sh
206206
and will only take effect on imformation whose visit frequency is lower than the setting.
207207
The setting frequency is defined by 'times' and 'seconds', and it is 10r/min by default.
208208
req_status_zone_recycle demo_zone 10 60;
209+
210+
req_status_lazy
211+
-------------------------------
212+
213+
**Syntax**: *req_status_lazy on|off*
214+
215+
**Default**: *off*
216+
217+
**Context**: *http、srv、loc*
218+
219+
req_status_lazy directive is used to control whether the variable in the req_status_zone directive is recalculate during the log phasei. In order to solve some variables (such as the upstream_xxx related variable) as a key scene to get empty value.

docs/modules/ngx_http_reqstat_module_cn.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,15 @@ req_status_zone_recycle
192192
定义某个共享内存块过期数据的回收。回收在共享内存耗尽时自动开启。只会回收访问频率低于设置值的监控数据。
193193
频率定义为 times / seconds,默认值为10r/min,即
194194
req_status_zone_recycle demo_zone 10 60;
195+
196+
197+
req_status_lazy
198+
-------------------------------
199+
200+
**Syntax**: *req_status_lazy on|off*
201+
202+
**Default**: *off*
203+
204+
**Context**: *http、srv、loc*
205+
206+
req_status_lazy指令用于控制req_status_zone指令中配置的变量是否在log阶段重新取值,用来解决部分变量(如upstream_xxx相关变量)作为key场景下获取是空的问题。

src/core/nginx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
#endif
2121

2222
#define TENGINE "Tengine"
23-
#define tengine_version 2002002
24-
#define TENGINE_VERSION "2.2.2"
23+
#define tengine_version 2003000
24+
#define TENGINE_VERSION "2.3.0"
2525
#define TENGINE_VER TENGINE "/" TENGINE_VERSION
2626

2727
#define NGINX_VAR "NGINX"

0 commit comments

Comments
 (0)