mirror of
https://github.com/go-gost/gost.git
synced 2026-10-09 20:45:46 +00:00
add kcp dialer
This commit is contained in:
+4
-2
@@ -32,8 +32,10 @@ func (c *Chain) GetRouteFor(network, address string) (r *Route) {
|
||||
}
|
||||
|
||||
if node.transport.IsMultiplex() {
|
||||
tr := node.transport.Copy().WithRoute(r)
|
||||
node = node.Copy().WithTransport(tr)
|
||||
tr := node.transport.Copy().
|
||||
WithRoute(r)
|
||||
node = node.Copy().
|
||||
WithTransport(tr)
|
||||
r = &Route{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user