proxy client: resubscribe on new endpoint

This commit is contained in:
Adrien Béraud committed 2026-03-13 13:05:34 -04:00
1 parent ac520bd587
commit b6ea2ed8e2
1 file changed
+1 -1
+1 -1
View File
@@ -1376,7 +1376,7 @@ DhtProxyClient::resubscribe([[maybe_unused]] const InfoHash& key,
restinio::http_request_header_t header;
header.method(restinio::http_method_subscribe());
header.request_target("/" + key.toString());
header.request_target("/key/" + key.toString());
if (!listener.refreshSubscriberTimer) {
listener.refreshSubscriberTimer = std::make_unique<asio::steady_timer>(httpContext_);
}