Merge pull request #34 from sehraf/pr-fix-and-sam

Fix + SAMv3 update
This commit is contained in:
csoler 2022-07-13 15:40:31 +02:00 committed by GitHub
commit 1a5deb3bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -483,6 +483,8 @@ bool p3I2pSam3::startSession()
// backup quantity
params.push_back(i2p::makeOption("inbound.backupQuantity", + mSetting.inBackupQuantity));
params.push_back(i2p::makeOption("outbound.backupQuantity", + mSetting.outBackupQuantity));
// lease set type (support encrypted one, too)
params.push_back("i2cp.leaseSetEncType=0,4");
}
std::string paramsStr;

View File

@ -323,7 +323,8 @@ autoProxyService *rsAutoProxyMonitor::lookUpService(autoProxyType::autoProxyType
if ((itService = mProxies.find(t)) != mProxies.end()) {
return itService->second;
}
RS_DBG("no service for type ", t, " found!");
if (!mRSShutDown)
RS_DBG("no service for type ", t, " found!");
return NULL;
}