fixed race condition

This commit is contained in:
orignal 2015-02-07 15:25:06 -05:00
parent 9c7fcfbe3f
commit ab0bd908ec
4 changed files with 27 additions and 10 deletions

View file

@ -45,6 +45,7 @@ namespace transport
eSessionStateUnknown,
eSessionStateIntroduced,
eSessionStateEstablished,
eSessionStateClosed,
eSessionStateFailed
};
@ -80,6 +81,7 @@ namespace transport
private:
boost::asio::io_service& GetService ();
void CreateAESandMacKey (const uint8_t * pubKey);
void PostI2NPMessage (I2NPMessage * msg);