From b241f47c8c65b569d26c4dc27e40aa61a5cad537 Mon Sep 17 00:00:00 2001 From: qyt <486179@qq.com> Date: Mon, 9 Feb 2026 11:52:14 +0800 Subject: [PATCH] update:version and fixed version error modify:do not case-sensitive --- CHANGELOG | 20 +++++++++++++++++++ .../XEngine_Config/XEngine_Version.json | 18 ++++++++--------- .../XEngine_ServiceApp/XEngine_HTTPTask.cpp | 10 +++++----- 3 files changed, 34 insertions(+), 14 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 2578762..b9f84d0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,23 @@ +XEngine_ProxyServer V1.16.0.1001 + +增加:验证模块 +增加:http重载proxy代理配置支持 +增加:http服务api操作支持 +增加:http获取proxy 规则支持 +增加:http验证支持 +更新:依赖库 +修改:分离代理配置 +修正:版本错误 + +added:verification module +added:reload proxy configure for http +added:http service support +added:get proxy rule for http get +added:http verification support +update:depend library +modify:Separation of Proxy Configuration +fixed:version error +====================================================================================== XEngine_ProxyServer V1.15.0.1001 ci:增加了centos和almalinux和debian 13 系统支持 diff --git a/XEngine_Release/XEngine_Config/XEngine_Version.json b/XEngine_Release/XEngine_Config/XEngine_Version.json index f4232d8..3d61d3d 100644 --- a/XEngine_Release/XEngine_Config/XEngine_Version.json +++ b/XEngine_Release/XEngine_Config/XEngine_Version.json @@ -1,14 +1,14 @@ { "XVer": [ - "1.15.0.1001 Build20260209", - "1.14.0.1001 Build20251020", - "1.13.0.1001 Build20250519", - "1.12.0.1001 Build20250325", - "1.11.0.1001 Build20250121", - "1.10.0.1001 Build20241115", - "1.9.0.1001 Build20240910", - "1.8.0.1001 Build20240522", - "1.7.1.1001 Build20240305", + "1.16.0.1001 Build20260209", + "1.15.0.1001 Build20251020", + "1.14.0.1001 Build20250519", + "1.13.0.1001 Build20250325", + "1.12.0.1001 Build20250121", + "1.11.0.1001 Build20241115", + "1.10.0.1001 Build20240910", + "1.9.0.1001 Build20240522", + "1.8.1.1001 Build20240305", "1.7.0.1001 Build20240104", "1.6.0.1001 Build20230817", "1.5.1.1001 Build20230426", diff --git a/XEngine_Source/XEngine_ServiceApp/XEngine_HTTPTask.cpp b/XEngine_Source/XEngine_ServiceApp/XEngine_HTTPTask.cpp index ad474c6..ea4e260 100644 --- a/XEngine_Source/XEngine_ServiceApp/XEngine_HTTPTask.cpp +++ b/XEngine_Source/XEngine_ServiceApp/XEngine_HTTPTask.cpp @@ -152,9 +152,9 @@ bool XEngine_HTTPTask_Handle(RFCCOMPONENTS_HTTP_REQPARAM* pSt_HTTPParam, LPCXSTR //获得函数名 BaseLib_String_GetKeyValue(pptszList[0], "=", tszKey, tszValue); //得到客户端请求的方法 - if (0 == _tcsxnicmp(lpszMethodPost, pSt_HTTPParam->tszHttpMethod, _tcsxlen(lpszMethodPost))) + if (0 == _tcsxncmp(lpszMethodPost, pSt_HTTPParam->tszHttpMethod, _tcsxlen(lpszMethodPost))) { - if (0 == _tcsxnicmp(lpszAPIProxyRule, tszValue, _tcsxlen(lpszAPIProxyRule))) + if (0 == _tcsxncmp(lpszAPIProxyRule, tszValue, _tcsxlen(lpszAPIProxyRule))) { //http://127.0.0.1:5400/api?function=get&value=proxyrule } @@ -165,9 +165,9 @@ bool XEngine_HTTPTask_Handle(RFCCOMPONENTS_HTTP_REQPARAM* pSt_HTTPParam, LPCXSTR XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_WARN, _X("HTTP客户端:%s,发送POST请求:%s,处理失败,不支持"), lpszClientAddr, pSt_HTTPParam->tszHttpUri); } } - else if (0 == _tcsxnicmp(lpszMethodGet, pSt_HTTPParam->tszHttpMethod, _tcsxlen(lpszMethodGet))) + else if (0 == _tcsxncmp(lpszMethodGet, pSt_HTTPParam->tszHttpMethod, _tcsxlen(lpszMethodGet))) { - if (0 == _tcsxnicmp(lpszAPIReload, tszValue, _tcsxlen(lpszAPIReload))) + if (0 == _tcsxncmp(lpszAPIReload, tszValue, _tcsxlen(lpszAPIReload))) { delete st_ProxyConfig.pStl_ListDestAddr; delete st_ProxyConfig.pStl_ListRuleAddr; @@ -178,7 +178,7 @@ bool XEngine_HTTPTask_Handle(RFCCOMPONENTS_HTTP_REQPARAM* pSt_HTTPParam, LPCXSTR XEngine_Network_Send(lpszClientAddr, tszSDBuffer, nSDLen, XENGINE_CLIENT_NETTYPE_HTTP); XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_WARN, _X("HTTP客户端:%s,发送重载配置请求成功"), lpszClientAddr); } - else if (0 == _tcsxnicmp(lpszAPIProxyRule, tszValue, _tcsxlen(lpszAPIProxyRule))) + else if (0 == _tcsxncmp(lpszAPIProxyRule, tszValue, _tcsxlen(lpszAPIProxyRule))) { //http://127.0.0.1:5400/api?function=proxyrule int nListCount = 0;