Reduce high volume of strings from FedDest and ActualDest in resolver.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-11-23 00:04:41 +00:00
parent 9e539d0a22
commit a748edd621
7 changed files with 59 additions and 56 deletions

View File

@@ -163,7 +163,7 @@ async fn into_http_response(
request_url = ?url,
response_url = ?response.url(),
"Received response from {}",
actual.string(),
actual.to_string(),
);
let mut http_response_builder = http::Response::builder()
@@ -249,7 +249,7 @@ where
};
let mut request = request
.try_into_http_request::<Vec<u8>>(actual.string().as_str(), SATIR, &supported)
.try_into_http_request::<Vec<u8>>(actual.to_string().as_str(), SATIR, &supported)
.map_err(|e| err!(BadServerResponse("Invalid destination: {e:?}")))?;
if matches!(T::METADATA.authentication, AuthScheme::ServerSignatures) {