mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
http: replace service by url
This commit is contained in:
1 parent
fd7f644531
commit
70c92d6cea
3 files changed
+14
-21
No files matched your search
@@ -860,8 +860,8 @@ DhtProxyServer::sendPushNotification(const std::string& token, Json::Value&& jso
|
||||
if (pushServer_.empty())
|
||||
return;
|
||||
|
||||
auto request = std::make_shared<http::Request>(io_context(), pushHostPort_.first,
|
||||
pushHostPort_.second, logger_);
|
||||
auto request = std::make_shared<http::Request>(io_context(), pushHostPort_.first, pushHostPort_.second,
|
||||
httpsServer_ ? true : false, logger_);
|
||||
auto reqid = request->id();
|
||||
try {
|
||||
request->set_target("/api/push");
|
||||
|
||||
Reference in new issue
Block a user