Skip to content
Permalink
Browse files

Test to fix some connect timeouts

  • Loading branch information...
ccw808 committed Jul 13, 2015
1 parent 7770e14 commit f394dc73a41d83c3277c20ce677c8d2a9e6989c5
Showing with 3 additions and 0 deletions.
  1. +3 −0 MTA10/core/CConnectManager.cpp
@@ -116,6 +116,9 @@ bool CConnectManager::Connect ( const char* szHost, unsigned short usPort, const
if ( !CCore::GetSingleton ().CheckDiskSpace () )
return false;

// Test: Fix some timeouts by trying a tcp connection
pNet->GetHTTPDownloadManager ( EDownloadMode::CORE_UPDATER )->QueueFile ( m_strHost.c_str(), NULL, 0, "", 0, true, NULL, NULL, false, 1, 2000 );

// Set our packet handler
pNet->RegisterPacketHandler ( CConnectManager::StaticProcessPacket );

0 comments on commit f394dc7

Please sign in to comment.
You can’t perform that action at this time.