Reverting the debugging code I was using to narrow down the problem on Jenkins now that the issue was fixed by PR-4946
Signed-off-by: Gene Walters <genewalt@amazon.com>
This commit is contained in:
@@ -79,8 +79,6 @@ namespace AzNetworking
|
||||
|
||||
ConnectionId TcpNetworkInterface::Connect(const IpAddress& remoteAddress)
|
||||
{
|
||||
AZLOG_INFO("Attemping TcpNetworkInterface::Connect")
|
||||
|
||||
const ConnectionId connectionId = m_connectionSet.GetNextConnectionId();
|
||||
AZStd::unique_ptr<TcpConnection> connection = AZStd::make_unique<TcpConnection>(connectionId, remoteAddress, *this, m_trustZone, net_TcpUseEncryption);
|
||||
AZ_Assert(connection->GetConnectionRole() == ConnectionRole::Connector, "Invalid role for connection");
|
||||
@@ -89,9 +87,6 @@ namespace AzNetworking
|
||||
TcpSocket* tcpSocket = connection->GetTcpSocket();
|
||||
if (tcpSocket == nullptr)
|
||||
{
|
||||
AZLOG_ERROR(
|
||||
"TcpNetworkInterface::Connect tcpSocket is null! How can this be? Returning InvalidConnectionId")
|
||||
|
||||
return InvalidConnectionId;
|
||||
}
|
||||
|
||||
|
||||
@@ -68,31 +68,14 @@ namespace AzNetworking
|
||||
{
|
||||
Close();
|
||||
|
||||
if (!SocketCreateInternal())
|
||||
if (!SocketCreateInternal()
|
||||
|| !BindSocketForConnectInternal(address)
|
||||
|| !(SetSocketNonBlocking(m_socketFd) && SetSocketNoDelay(m_socketFd)))
|
||||
{
|
||||
AZ_Warning("TcpSocket", false, "Tcp::Connect failed. SocketCreateInternal is false");
|
||||
|
||||
Close();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!BindSocketForConnectInternal(address))
|
||||
{
|
||||
AZ_Warning("TcpSocket", false, "Tcp::Connect failed. BindSocketForConnectInternal is false");
|
||||
|
||||
Close();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(SetSocketNonBlocking(m_socketFd) && SetSocketNoDelay(m_socketFd)))
|
||||
{
|
||||
AZ_Warning("TcpSocket", false, "Tcp::Connect failed. SetSocketNonBlocking and SetSocketNoDelay is false");
|
||||
|
||||
Close();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ namespace LegacyLevelSystem
|
||||
// [LYN-2376] Remove once legacy slice support is removed
|
||||
int SpawnableLevelSystem::GetLevelCount()
|
||||
{
|
||||
AZ_Warning("SpawnableLevelSystem", false, "GetLevelCount - No longer supported.");
|
||||
AZ_Assert(false, "GetLevelCount - No longer supported.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user