|
|
@ -168,8 +168,11 @@ namespace client |
|
|
|
{ |
|
|
|
{ |
|
|
|
LogPrint (eLogInfo, v.first); |
|
|
|
LogPrint (eLogInfo, v.first); |
|
|
|
if (!v.first.empty()) |
|
|
|
if (!v.first.empty()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (v.first != I2P_CONTROL_PARAM_TOKEN) // exclude Token. TODO: verify it
|
|
|
|
params[v.first] = v.second.data (); |
|
|
|
params[v.first] = v.second.data (); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
std::map<std::string, std::string> results; |
|
|
|
std::map<std::string, std::string> results; |
|
|
|
(this->*(it->second))(params, results); |
|
|
|
(this->*(it->second))(params, results); |
|
|
|
SendResponse (socket, buf, pt.get<std::string>(I2P_CONTROL_PROPERTY_ID), results, isHtml); |
|
|
|
SendResponse (socket, buf, pt.get<std::string>(I2P_CONTROL_PROPERTY_ID), results, isHtml); |
|
|
|