mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
Fix bugs with loopback connections.
This commit is contained in:
@@ -1111,7 +1111,7 @@ bool CSteamNetworkConnectionBase::BRecvCryptoHandshake( const CMsgSteamDatagramC
|
||||
}
|
||||
|
||||
// If we are the client, then we have everything we need and can finish up right now
|
||||
if ( !bServer )
|
||||
if ( !m_bConnectionInitiatedRemotely )
|
||||
{
|
||||
// The server MUST send back the single cipher that they decided to use
|
||||
if ( m_msgCryptRemote.ciphers_size() != 1 )
|
||||
@@ -2648,6 +2648,7 @@ CSteamNetworkConnectionPipe::CSteamNetworkConnectionPipe( CSteamNetworkingSocket
|
||||
, m_pPartner( nullptr )
|
||||
{
|
||||
m_identityLocal = identity;
|
||||
m_pTransport = this;
|
||||
|
||||
// This is not strictly necessary, but it's nice to make it official
|
||||
m_connectionConfig.m_Unencrypted.Set( 3 );
|
||||
|
||||
Reference in New Issue
Block a user