mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-05-25 21:34:04 +00:00
fix: Server name caching for SRV remotes
This commit is contained in:
committed by
Jacob Taylor
parent
1ce9ae2cbf
commit
8b762cf2e6
@@ -0,0 +1 @@
|
||||
Fixed resolving IP of servers that only use SRV delegation. Contributed by @tulir.
|
||||
@@ -72,8 +72,6 @@ pub async fn resolve_actual_dest(
|
||||
if let Some(pos) = dest.as_str().find(':') {
|
||||
self.actual_dest_2(dest, cache, pos).await?
|
||||
} else {
|
||||
self.conditional_query_and_cache(dest.as_str(), 8448, true)
|
||||
.await?;
|
||||
self.services.server.check_running()?;
|
||||
match self.request_well_known(dest.as_str()).await? {
|
||||
| Some(delegated) =>
|
||||
|
||||
Reference in New Issue
Block a user