mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-18 15:06:35 +02:00
don't gererate more tags for detached session
This commit is contained in:
parent
010541197c
commit
37ec90c436
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ namespace garlic
|
|||
int moreTags = ECIESX25519_MIN_NUM_GENERATED_TAGS + (index >> 2); // N/4
|
||||
if (moreTags > ECIESX25519_MAX_NUM_GENERATED_TAGS) moreTags = ECIESX25519_MAX_NUM_GENERATED_TAGS;
|
||||
moreTags -= (receiveTagset->GetNextIndex () - index);
|
||||
if (moreTags > 0)
|
||||
if (moreTags > 0 && GetOwner ())
|
||||
GenerateMoreReceiveTags (receiveTagset, moreTags);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue