Skip to content

Commit b241f47

Browse files
committed
update:version and fixed version error
modify:do not case-sensitive
1 parent 9372bc8 commit b241f47

3 files changed

Lines changed: 34 additions & 14 deletions

File tree

CHANGELOG

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
XEngine_ProxyServer V1.16.0.1001
2+
3+
增加:验证模块
4+
增加:http重载proxy代理配置支持
5+
增加:http服务api操作支持
6+
增加:http获取proxy 规则支持
7+
增加:http验证支持
8+
更新:依赖库
9+
修改:分离代理配置
10+
修正:版本错误
11+
12+
added:verification module
13+
added:reload proxy configure for http
14+
added:http service support
15+
added:get proxy rule for http get
16+
added:http verification support
17+
update:depend library
18+
modify:Separation of Proxy Configuration
19+
fixed:version error
20+
======================================================================================
121
XEngine_ProxyServer V1.15.0.1001
222

323
ci:增加了centos和almalinux和debian 13 系统支持

XEngine_Release/XEngine_Config/XEngine_Version.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"XVer": [
3-
"1.15.0.1001 Build20260209",
4-
"1.14.0.1001 Build20251020",
5-
"1.13.0.1001 Build20250519",
6-
"1.12.0.1001 Build20250325",
7-
"1.11.0.1001 Build20250121",
8-
"1.10.0.1001 Build20241115",
9-
"1.9.0.1001 Build20240910",
10-
"1.8.0.1001 Build20240522",
11-
"1.7.1.1001 Build20240305",
3+
"1.16.0.1001 Build20260209",
4+
"1.15.0.1001 Build20251020",
5+
"1.14.0.1001 Build20250519",
6+
"1.13.0.1001 Build20250325",
7+
"1.12.0.1001 Build20250121",
8+
"1.11.0.1001 Build20241115",
9+
"1.10.0.1001 Build20240910",
10+
"1.9.0.1001 Build20240522",
11+
"1.8.1.1001 Build20240305",
1212
"1.7.0.1001 Build20240104",
1313
"1.6.0.1001 Build20230817",
1414
"1.5.1.1001 Build20230426",

XEngine_Source/XEngine_ServiceApp/XEngine_HTTPTask.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ bool XEngine_HTTPTask_Handle(RFCCOMPONENTS_HTTP_REQPARAM* pSt_HTTPParam, LPCXSTR
152152
//获得函数名
153153
BaseLib_String_GetKeyValue(pptszList[0], "=", tszKey, tszValue);
154154
//得到客户端请求的方法
155-
if (0 == _tcsxnicmp(lpszMethodPost, pSt_HTTPParam->tszHttpMethod, _tcsxlen(lpszMethodPost)))
155+
if (0 == _tcsxncmp(lpszMethodPost, pSt_HTTPParam->tszHttpMethod, _tcsxlen(lpszMethodPost)))
156156
{
157-
if (0 == _tcsxnicmp(lpszAPIProxyRule, tszValue, _tcsxlen(lpszAPIProxyRule)))
157+
if (0 == _tcsxncmp(lpszAPIProxyRule, tszValue, _tcsxlen(lpszAPIProxyRule)))
158158
{
159159
//http://127.0.0.1:5400/api?function=get&value=proxyrule
160160
}
@@ -165,9 +165,9 @@ bool XEngine_HTTPTask_Handle(RFCCOMPONENTS_HTTP_REQPARAM* pSt_HTTPParam, LPCXSTR
165165
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_WARN, _X("HTTP客户端:%s,发送POST请求:%s,处理失败,不支持"), lpszClientAddr, pSt_HTTPParam->tszHttpUri);
166166
}
167167
}
168-
else if (0 == _tcsxnicmp(lpszMethodGet, pSt_HTTPParam->tszHttpMethod, _tcsxlen(lpszMethodGet)))
168+
else if (0 == _tcsxncmp(lpszMethodGet, pSt_HTTPParam->tszHttpMethod, _tcsxlen(lpszMethodGet)))
169169
{
170-
if (0 == _tcsxnicmp(lpszAPIReload, tszValue, _tcsxlen(lpszAPIReload)))
170+
if (0 == _tcsxncmp(lpszAPIReload, tszValue, _tcsxlen(lpszAPIReload)))
171171
{
172172
delete st_ProxyConfig.pStl_ListDestAddr;
173173
delete st_ProxyConfig.pStl_ListRuleAddr;
@@ -178,7 +178,7 @@ bool XEngine_HTTPTask_Handle(RFCCOMPONENTS_HTTP_REQPARAM* pSt_HTTPParam, LPCXSTR
178178
XEngine_Network_Send(lpszClientAddr, tszSDBuffer, nSDLen, XENGINE_CLIENT_NETTYPE_HTTP);
179179
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_WARN, _X("HTTP客户端:%s,发送重载配置请求成功"), lpszClientAddr);
180180
}
181-
else if (0 == _tcsxnicmp(lpszAPIProxyRule, tszValue, _tcsxlen(lpszAPIProxyRule)))
181+
else if (0 == _tcsxncmp(lpszAPIProxyRule, tszValue, _tcsxlen(lpszAPIProxyRule)))
182182
{
183183
//http://127.0.0.1:5400/api?function=proxyrule
184184
int nListCount = 0;

0 commit comments

Comments
 (0)