Проблема в подключение

Решил сделать blockchain. Я использую Simple Web Server. Miner.cpp

json j;
j["port"] = server->config.port;
for (int i = 0; i < peers.size() - 1; i++)
{
    int port = peers[i];
    HttpClient client("localhost:" + std::to_string(port));
    std::shared_ptr<HttpClient::Response> response = client.request("POST", "/peerpush", j.dump());
    std::shared_ptr<HttpClient::Response> Defaultresponse = client.request("GET");
}

и в файле client_http.hpp получаю ошибку

if (ec)
    throw system_error(ec);

return response;

Возникло необработанное исключение по адресу 0x00007FFF918D4FD9 в bchain.exe: исключение Microsoft C++: boost::system::system_error по адресу памяти 0x000000F22ECFD6B8. Исходники:https://github.com/Winderton/xplatform


Ответы (0 шт):