Commit 79ad52a9 authored by Jonas Stienen's avatar Jonas Stienen
Browse files

Fixing message processing bug (was reading over current message size and destroying next buffer)

;
parent 62491c92
......@@ -218,8 +218,11 @@ public:
m_mapConnections[ nUpdateID ]->SetWaitForDescriptorEventSelectIsEnabled( true );
}
}
catch( CVAException& )
catch( CVAException& e )
{
#ifdef VANET_SERVER_VERBOSE
std::cerr << "VA Server: caught exception and will disconnect now (" << e << ")" << std::endl;
#endif
m_pParent->RemoveClient( m_mapConnections[ nUpdateID ], CVANetNetworkProtocol::VA_NET_SERVER_DISCONNECT );
}
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment