Merge pull request #2212 from nonlin-lin-chaos-order-etc-etal/feat_more_errors_diags

Add more errors diagnostics to understand malformed configs (Re: config answerPings value format incompatibility issue)
This commit is contained in:
orignal 2025-07-17 15:53:02 -04:00 committed by GitHub
commit 24b6d85fe2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1085,6 +1085,7 @@ namespace client
m_StreamingInboundSpeed = std::stoi(it->second);
if (it != params->end ())
m_StreamingMaxConcurrentStreams = std::stoi(it->second);
LogPrint (eLogDebug, "Destination: Reading parameter ", I2CP_PARAM_STREAMING_ANSWER_PINGS);
it = params->find (I2CP_PARAM_STREAMING_ANSWER_PINGS);
if (it != params->end ())
m_IsStreamingAnswerPings = std::stoi (it->second); // 1 for true