Routing: fix router select wrong outbound when failed to resolve domain to ip

This commit is contained in:
patterniha
2025-09-12 22:48:17 +03:30
parent 83c5370eec
commit fc7a3c14d7
6 changed files with 36 additions and 7 deletions
+4
View File
@@ -51,6 +51,10 @@ func (c routingContext) GetSkipDNSResolve() bool {
return false
}
func (c routingContext) GetError() error {
return nil
}
// AsRoutingContext converts a protobuf RoutingContext into an implementation of routing.Context.
func AsRoutingContext(r *RoutingContext) routing.Context {
return routingContext{r}