mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dhtproxy: fix cancelListen with pushNotifications
Fill the body of the UNSUBSCRIBE method and fix dhtnode application
This commit is contained in:
3 files changed
+32
-12
No files matched your search
+3
-3
@@ -274,9 +274,9 @@ void cmd_loop(std::shared_ptr<DhtRunner>& dht, dht_params& params
|
||||
} catch (std::invalid_argument& e) { std::cout << e.what() << std::endl; }
|
||||
}
|
||||
} else if (op == "cl") {
|
||||
std::string rem;
|
||||
iss >> rem;
|
||||
dht->cancelListen(id, std::stoul(rem));
|
||||
std::string hash, rem;
|
||||
iss >> hash >> rem;
|
||||
dht->cancelListen(dht::InfoHash(hash), std::stoul(rem));
|
||||
}
|
||||
else {
|
||||
// Dht syntax
|
||||
|
||||
Reference in new issue
Block a user