diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsRPC.cpp /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsRPC.cpp --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsRPC.cpp 2026-11-10 23:23:31.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsRPC.cpp 2026-11-10 22:56:48.000000000 +0000 @@ -434,9 +434,17 @@ } }, - { "hashString", [](std::shared_ptr torrent) { return boost::json::value(torrent->GetInfoHash ().ToHexString ()); } }, + { "hashString", [](std::shared_ptr torrent) + { + std::string hexHash; + boost::algorithm::hex (torrent->GetInfoHash ().begin(), torrent->GetInfoHash ().end(), std::back_inserter(hexHash)); + return boost::json::value(hexHash); + } + }, { "magnetLink", [](std::shared_ptr torrent) { + std::string hexHash; + boost::algorithm::hex (torrent->GetInfoHash ().begin(), torrent->GetInfoHash ().end(), std::back_inserter(hexHash)); std::string magnet("magnet:?xt=urn:btih:"); - magnet += torrent->GetInfoHash ().ToHexString (); + magnet += hexHash; if (!torrent->GetName ().empty ()) { @@ -1186,7 +1194,6 @@ auto session = std::make_shared(*this, std::move(socket)); session->ReceiveRequest (); - } - if (ecode != boost::asio::error::operation_aborted && ecode != boost::asio::error::no_descriptors) Accept (); + } }); } diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsTunnel.cpp /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsTunnel.cpp --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsTunnel.cpp 2026-11-10 23:23:31.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsTunnel.cpp 2026-11-10 22:56:48.000000000 +0000 @@ -298,5 +298,5 @@ try { - boost::property_tree::read_ini (magnetFilePath.string (), pt, std::locale::classic()); + boost::property_tree::read_ini (magnetFilePath, pt, std::locale::classic()); name = pt.get ("dn", ""); announce = pt.get ("tr", "");