mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
fix conflicts
This commit is contained in:
parent
b4e9ed7d18
commit
9575f70f38
4 changed files with 0 additions and 24 deletions
|
@ -4,11 +4,8 @@
|
|||
#include "I2NPProtocol.h"
|
||||
#include "NetDb.h"
|
||||
#include "Transports.h"
|
||||
<<<<<<< HEAD
|
||||
#include "Config.h"
|
||||
=======
|
||||
#include "Event.h"
|
||||
>>>>>>> bda4170... add web socket ui
|
||||
|
||||
using namespace i2p::data;
|
||||
|
||||
|
@ -596,16 +593,13 @@ namespace transport
|
|||
}
|
||||
else // incoming connection
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
if(RoutesRestricted() && ! IsRestrictedPeer(ident)) {
|
||||
// not trusted
|
||||
LogPrint(eLogWarning, "Transports: closing untrusted inbound connection from ", ident.ToBase64());
|
||||
session->Done();
|
||||
return;
|
||||
}
|
||||
=======
|
||||
EmitEvent({{"type" , "transport.connected"}, {"ident", ident.ToBase64()}, {"inbound", "true"}});
|
||||
>>>>>>> bda4170... add web socket ui
|
||||
session->SendI2NPMessages ({ CreateDatabaseStoreMsg () }); // send DatabaseStore
|
||||
std::unique_lock<std::mutex> l(m_PeersMutex);
|
||||
m_Peers.insert (std::make_pair (ident, Peer{ 0, nullptr, { session }, i2p::util::GetSecondsSinceEpoch (), {} }));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue