mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
dhtinterface: pass listen filters by value
This commit is contained in:
1 parent
15e3696b88
commit
0420ebcce3
7 files changed
+7
-7
No files matched your search
@@ -417,7 +417,7 @@ DhtProxyClient::getPublicAddress(sa_family_t family)
|
||||
}
|
||||
|
||||
size_t
|
||||
DhtProxyClient::listen(const InfoHash& key, GetCallback cb, Value::Filter&& filter, Where&& where)
|
||||
DhtProxyClient::listen(const InfoHash& key, GetCallback cb, Value::Filter filter, Where where)
|
||||
{
|
||||
restbed::Uri uri(HTTP_PROTO + serverHost_ + "/" + key.toString());
|
||||
auto req = std::make_shared<restbed::Request>(uri);
|
||||
|
||||
Reference in new issue
Block a user