mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +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 @@ impl super::Service {
|
|||||||
if let Some(pos) = dest.as_str().find(':') {
|
if let Some(pos) = dest.as_str().find(':') {
|
||||||
self.actual_dest_2(dest, cache, pos).await?
|
self.actual_dest_2(dest, cache, pos).await?
|
||||||
} else {
|
} else {
|
||||||
self.conditional_query_and_cache(dest.as_str(), 8448, true)
|
|
||||||
.await?;
|
|
||||||
self.services.server.check_running()?;
|
self.services.server.check_running()?;
|
||||||
match self.request_well_known(dest.as_str()).await? {
|
match self.request_well_known(dest.as_str()).await? {
|
||||||
| Some(delegated) =>
|
| Some(delegated) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user