diff --git a/src/services/autoproxy/p3i2psam3.cpp b/src/services/autoproxy/p3i2psam3.cpp index c9e77273e..99e5d457d 100644 --- a/src/services/autoproxy/p3i2psam3.cpp +++ b/src/services/autoproxy/p3i2psam3.cpp @@ -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; diff --git a/src/services/autoproxy/rsautoproxymonitor.cc b/src/services/autoproxy/rsautoproxymonitor.cc index b2d71571e..bf7a4d408 100644 --- a/src/services/autoproxy/rsautoproxymonitor.cc +++ b/src/services/autoproxy/rsautoproxymonitor.cc @@ -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; }