Skip to content

Commit 82b9fb5

Browse files
committed
added:set connect timeout for proxy of pass
1 parent 514d554 commit 82b9fb5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

XEngine_Source/XEngine_StorageApp/XEngine_StorageApp.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,13 @@ int main(int argc, char** argv)
174174
signal(SIGABRT, ServiceApp_Stop);
175175
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO, _T("启动服务中,初始化服务器信号管理成功"));
176176

177+
if (!APIHelp_HttpRequest_SetGlobalTime(1))
178+
{
179+
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_ERROR, _T("启动服务中,设置PASS代理超时失败,错误:%lX"), APIHelp_GetLastError());
180+
goto XENGINE_EXITAPP;
181+
}
182+
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO, _T("启动服务中,设置PASS代理超时成功"));
183+
177184
xhLimit = Algorithm_Calculation_Create();
178185
if (NULL == xhLimit)
179186
{

0 commit comments

Comments
 (0)