mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
cancel destination request
This commit is contained in:
parent
de6dd77046
commit
fdd96975fb
3 changed files with 15 additions and 0 deletions
|
@ -495,7 +495,10 @@ namespace client
|
|||
newDataReceived.notify_all ();
|
||||
});
|
||||
if (newDataReceived.wait_for (l, std::chrono::seconds (SUBSCRIPTION_REQUEST_TIMEOUT)) == std::cv_status::timeout)
|
||||
{
|
||||
LogPrint (eLogError, "Subscription LeseseSet request timeout expired");
|
||||
i2p::client::context.GetSharedLocalDestination ()->CancelDestinationRequest (ident);
|
||||
}
|
||||
}
|
||||
if (leaseSet)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue