MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / HandleSessionRequestMLKEMReceived

Method HandleSessionRequestMLKEMReceived

libi2pd/NTCP2.cpp:785–800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783
784#if OPENSSL_PQ
785 void NTCP2Session::HandleSessionRequestMLKEMReceived (const boost::system::error_code& ecode, std::size_t bytes_transferred)
786 {
787 if (ecode)
788 {
789 LogPrint (eLogWarning, "NTCP2: SessionRequest ML-KEM read error: ", ecode.message ());
790 Terminate ();
791 }
792 else
793 {
794 boost::asio::post (m_Server.GetEstablisherService (),
795 [s = shared_from_this (), bytes_transferred] ()
796 {
797 s->ProcessSessionRequest (bytes_transferred + 64, false);
798 });
799 }
800 }
801#endif
802
803 void NTCP2Session::SendSessionCreated ()

Callers

nothing calls this directly

Calls 2

LogPrintFunction · 0.85
ProcessSessionRequestMethod · 0.45

Tested by

no test coverage detected