Browse Source

fixed race condition

pull/225/head
orignal 10 years ago
parent
commit
fbebdd3055
  1. 2
      Streaming.cpp

2
Streaming.cpp

@ -22,7 +22,7 @@ namespace stream
{ {
m_RecvStreamID = i2p::context.GetRandomNumberGenerator ().GenerateWord32 (); m_RecvStreamID = i2p::context.GetRandomNumberGenerator ().GenerateWord32 ();
m_RemoteIdentity = remote->GetIdentity (); m_RemoteIdentity = remote->GetIdentity ();
UpdateCurrentRemoteLease (); m_CurrentRemoteLease.endDate = 0;
} }
Stream::Stream (boost::asio::io_service& service, StreamingDestination& local): Stream::Stream (boost::asio::io_service& service, StreamingDestination& local):

Loading…
Cancel
Save