Skip to content

Commit b7c8fec

Browse files
committed
modify:Do not judge the existence of files for this machine
1 parent 519ed62 commit b7c8fec

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

XEngine_Source/XEngine_StorageApp/Storage_APPTask/Storage_TaskManage.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,6 @@ BOOL XEngine_Task_Manage(LPCTSTR lpszAPIName, LPCTSTR lpszClientAddr, LPCTSTR lp
6464
}
6565
else
6666
{
67-
//首先判断本机存在不
68-
if (nListCount > 0)
69-
{
70-
for (int i = 0; i < nListCount; i++)
71-
{
72-
_stprintf(ppSt_ListFile[i]->tszTableName, _T("127.0.0.1:%d"), st_ServiceCfg.nStorageDLPort);
73-
}
74-
Protocol_StoragePacket_QueryFile(tszRVBuffer, &nRVLen, &ppSt_ListFile, nListCount);
75-
BaseLib_OperatorMemory_Free((XPPPMEM)&ppSt_ListFile, nListCount);
76-
RfcComponents_HttpServer_SendMsgEx(xhCenterHttp, tszSDBuffer, &nSDLen, &st_HDRParam, tszRVBuffer, nRVLen);
77-
XEngine_Net_SendMsg(lpszClientAddr, tszSDBuffer, nSDLen, STORAGE_NETTYPE_HTTPCENTER);
78-
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO, _T("业务客户端:%s,请求文件查询,发现本地拥有此文件.直接返回"), lpszClientAddr);
79-
return TRUE;
80-
}
8167
//开始广播请求文件
8268
SOCKET hSDSocket;
8369
SOCKET hRVSocket;

0 commit comments

Comments
 (0)