diff --git a/src/dht_proxy_client.cpp b/src/dht_proxy_client.cpp index 41d086b1539f9c844440e1f83c0673bd416070ae..338c07bd10b07bb5cf7642908158cf20b8cf9d83 100644 --- a/src/dht_proxy_client.cpp +++ b/src/dht_proxy_client.cpp @@ -699,6 +699,7 @@ DhtProxyClient::doListen(const InfoHash& key, ValueCallback cb, Value::Filter fi }; if (not deviceKey_.empty()) + // Relaunch push listeners even if a timeout is not received (if the proxy crash for any reason) l->second.refreshJob = scheduler.add(scheduler.time() + proxy::OP_TIMEOUT - proxy::OP_MARGIN, [this, key, token, state] { if (state->cancel) return;