Skip to content

Commit 06aef63

Browse files
committed
modify:does not case sensitive for start parameter
1 parent 506df55 commit 06aef63

File tree

3 files changed

+47
-13
lines changed

3 files changed

+47
-13
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,24 @@ jobs:
4343
skip_unpack: true
4444
if_no_artifact_found: fail
4545
path: ./XRelease/
46+
- name: Download Alma
47+
uses: dawidd6/action-download-artifact@v6
48+
with:
49+
workflow: Alma_build.yml
50+
workflow_conclusion: success
51+
check_artifacts: false
52+
skip_unpack: true
53+
if_no_artifact_found: fail
54+
path: ./XRelease/
55+
- name: Download Centos
56+
uses: dawidd6/action-download-artifact@v6
57+
with:
58+
workflow: Centos_build.yml
59+
workflow_conclusion: success
60+
check_artifacts: false
61+
skip_unpack: true
62+
if_no_artifact_found: fail
63+
path: ./XRelease/
4664
- name: Download Rockylinux
4765
uses: dawidd6/action-download-artifact@v6
4866
with:

CHANGELOG

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
XEngine_ProxyServer V1.15.0.1001
2+
3+
ci:增加了centos和almalinux和debian 13 系统支持
4+
ci:更新了macos 系统版本
5+
更新:第三方库
6+
修改:使用了公用头替换登录协议
7+
修改:启动参数不区分大小写
8+
修复:某些时候读取配置内存溢出问题
9+
10+
ci:add centos and almalinux and debian 13 system support
11+
ci:update macos system
12+
update:depend library
13+
modify:login protocol use protocol header instead
14+
modify:does not case sensitive for start parameter
15+
fixed:sometime memory leak when read configure file
16+
======================================================================================
117
XEngine_ProxyServer V1.14.0.1001
218

319
增加:rocky linux 10 支持

XEngine_Source/XEngine_ServiceApp/XEngine_Configure.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,56 +28,56 @@ bool XEngine_Configure_Parament(int argc, char** argv, XENGINE_SERVICECONFIG* pS
2828

2929
for (int i = 0; i < argc; i++)
3030
{
31-
if (0 == _tcsxicmp("-h", argv[i]))
31+
if (0 == _tcsxcmp("-h", argv[i]))
3232
{
3333
XEngine_Configure_Help();
3434
return false;
3535
}
36-
else if (0 == _tcsxicmp("-d", argv[i]))
36+
else if (0 == _tcsxcmp("-d", argv[i]))
3737
{
3838
pSt_Configure->bDeamon = _ttxoi(argv[++i]);
3939
}
40-
else if (0 == _tcsxicmp("-ps", argv[i]))
40+
else if (0 == _tcsxcmp("-ps", argv[i]))
4141
{
4242
st_ServiceConfig.nSocksPort = _ttxoi(argv[++i]);
4343
}
44-
else if (0 == _tcsxicmp("-pt", argv[i]))
44+
else if (0 == _tcsxcmp("-pt", argv[i]))
4545
{
4646
st_ServiceConfig.nTunnelPort = _ttxoi(argv[++i]);
4747
}
48-
else if (0 == _tcsxicmp("-pf", argv[i]))
48+
else if (0 == _tcsxcmp("-pf", argv[i]))
4949
{
5050
st_ServiceConfig.nForwardPort = _ttxoi(argv[++i]);
5151
}
52-
else if (0 == _tcsxicmp("-pp", argv[i]))
52+
else if (0 == _tcsxcmp("-pp", argv[i]))
5353
{
5454
st_ServiceConfig.nProxyPort = _ttxoi(argv[++i]);
5555
}
56-
else if (0 == _tcsxicmp("-v", argv[i]))
56+
else if (0 == _tcsxcmp("-v", argv[i]))
5757
{
5858
printf("Version:%s\n", st_ServiceConfig.st_XVer.pStl_ListVer->front().c_str());
5959
return false;
6060
}
61-
else if (0 == _tcsxicmp("-t", argv[i]))
61+
else if (0 == _tcsxcmp("-t", argv[i]))
6262
{
6363
bIsTest = true;
6464
}
65-
else if (0 == _tcsxicmp("-lt", argv[i]))
65+
else if (0 == _tcsxcmp("-lt", argv[i]))
6666
{
6767
pSt_Configure->st_XLog.nLogType = _ttxoi(argv[++i]);
6868
}
69-
else if (0 == _tcsxicmp("-l", argv[i]))
69+
else if (0 == _tcsxcmp("-l", argv[i]))
7070
{
7171
LPCXSTR lpszLogLevel = argv[++i];
72-
if (0 == _tcsxicmp("debug", lpszLogLevel))
72+
if (0 == _tcsxcmp("debug", lpszLogLevel))
7373
{
7474
pSt_Configure->st_XLog.nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_DEBUG;
7575
}
76-
else if (0 == _tcsxicmp("detail", lpszLogLevel))
76+
else if (0 == _tcsxcmp("detail", lpszLogLevel))
7777
{
7878
pSt_Configure->st_XLog.nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_DETAIL;
7979
}
80-
else if (0 == _tcsxicmp("info", lpszLogLevel))
80+
else if (0 == _tcsxcmp("info", lpszLogLevel))
8181
{
8282
pSt_Configure->st_XLog.nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO;
8383
}

0 commit comments

Comments
 (0)