From b6ea2ed8e23ef7f05d1648f80bb880cfb676dc3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= Date: Fri, 13 Mar 2026 13:05:34 -0400 Subject: [PATCH] proxy client: resubscribe on new endpoint --- src/dht_proxy_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dht_proxy_client.cpp b/src/dht_proxy_client.cpp index d1504a76..e8af1cf6 100644 --- a/src/dht_proxy_client.cpp +++ b/src/dht_proxy_client.cpp @@ -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(httpContext_); }