forward non-HTTP traffic based on host
This commit is contained in:
1 parent
3afa3b6860
commit
1c6bc9283e
11 files changed
+127
-13
No files matched your search
@@ -97,7 +97,6 @@ func (p *chainHop) Select(ctx context.Context, opts ...chain.SelectOption) *chai
|
||||
if vhost == host ||
|
||||
vhost[0] == '.' && strings.HasSuffix(host, vhost[1:]) {
|
||||
filters = append(filters, node)
|
||||
p.options.logger.Debugf("find node for host: %s -> %s(%s)", host, node.Name, node.Addr)
|
||||
}
|
||||
}
|
||||
if len(filters) == 0 {
|
||||
|
||||
Reference in new issue
Block a user