Skip to content

Commit 5e369be

Browse files
committed
modify:close ubuntu24.04 check
fixed:The problem of incorrectly determining the token range for login
1 parent 3f66545 commit 5e369be

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/linuxbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
include:
1919
- os: ubuntu-22.04
20-
- os: ubuntu-24.04
20+
# - os: ubuntu-24.04
2121
runs-on: ${{ matrix.os }}
2222

2323
steps:

XEngine_Source/XEngine_APPService/XEngine_AuthorizeService/Authorize_TCPTask.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ bool XEngine_Client_TCPTask(LPCXSTR lpszClientAddr, LPCXSTR lpszMsgBuffer, int n
328328
}
329329
}
330330

331-
if (pSt_ProtocolHdr->xhToken < 10000000 || pSt_ProtocolHdr->xhToken > 2000000)
331+
if (pSt_ProtocolHdr->xhToken < 10000000 || pSt_ProtocolHdr->xhToken > 20000000)
332332
{
333-
BaseLib_OperatorHandle_Create(&pSt_ProtocolHdr->xhToken, 10000000, 2000000);
333+
BaseLib_OperatorHandle_Create(&pSt_ProtocolHdr->xhToken, 10000000, 20000000);
334334
}
335335
st_UserTable.enDeviceType = st_AuthProtocol.enDeviceType;
336336
if (!Session_Authorize_Insert(lpszClientAddr, &st_UserTable, pSt_ProtocolHdr->xhToken, nNetType))

XEngine_Source/XEngine_APPService/XEngine_AuthorizeService/XEngine_AuthorizeService.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,7 @@ int main(int argc, char** argv)
387387
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_ERROR, _X("服务启动失败,服务器退出..."));
388388
}
389389

390-
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_WARN, _X("启动失败,按任意键网络验证服务器退出..."));
391390
bIsRun = false;
392-
393391
HelpComponents_Datas_Destory(xhTCPPacket);
394392
RfcComponents_WSPacket_DestoryEx(xhWSPacket);
395393
HttpProtocol_Server_DestroyEx(xhHttpPacket);

0 commit comments

Comments
 (0)