mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-18 23:00:12 +00:00
test case for socks.net
This commit is contained in:
1 parent
729312f3b5
commit
8be5d695c8
8 files changed
+166
-101
No files matched your search
@@ -42,7 +42,7 @@ func NewPoint(config PointConfig) (*Point, error) {
|
||||
panic(log.Error("Unknown inbound connection handler factory %s", config.InboundConfig().Protocol()))
|
||||
}
|
||||
vpoint.ichFactory = ichFactory
|
||||
vpoint.ichConfig = config.InboundConfig().Content()
|
||||
vpoint.ichConfig = config.InboundConfig().Content()
|
||||
|
||||
ochFactory, ok := outboundFactories[config.OutboundConfig().Protocol()]
|
||||
if !ok {
|
||||
@@ -50,7 +50,7 @@ func NewPoint(config PointConfig) (*Point, error) {
|
||||
}
|
||||
|
||||
vpoint.ochFactory = ochFactory
|
||||
vpoint.ochConfig = config.OutboundConfig().Content()
|
||||
vpoint.ochConfig = config.OutboundConfig().Content()
|
||||
|
||||
return vpoint, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user