mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
dhtproxy: fix server send push notif underflow
This commit is contained in:
1 parent
630112601c
commit
0f9df9a62b
1 file changed
+1
-1
@@ -636,7 +636,7 @@ DhtProxyServer::sendPushNotification(const std::string& token, Json::Value&& jso
|
||||
if (pushServer_.empty())
|
||||
return;
|
||||
|
||||
httpClient_->async_connect([this, &token, json=std::move(json), isAndroid](std::shared_ptr<http::Connection> conn)
|
||||
httpClient_->async_connect([this, token, json=std::move(json), isAndroid](std::shared_ptr<http::Connection> conn)
|
||||
{
|
||||
if (!conn){
|
||||
logger_->e("[proxy:server] [notification] invalid connection");
|
||||
|
||||
Reference in new issue
Block a user