1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-02 23:35:40 -05:00

test case for socks.net

This commit is contained in:
V2Ray
2015-09-19 15:35:20 +02:00
parent 729312f3b5
commit 8be5d695c8
8 changed files with 166 additions and 101 deletions

View File

@@ -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
}