From 1600a59254ba87c5046a4dad1f891883c32b6ad1 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 2 Nov 2016 22:19:01 +0100 Subject: [PATCH] enable tcp for shadowsocks server --- proxy/shadowsocks/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/shadowsocks/server.go b/proxy/shadowsocks/server.go index 8402adb7..49d542af 100644 --- a/proxy/shadowsocks/server.go +++ b/proxy/shadowsocks/server.go @@ -211,7 +211,7 @@ type ServerFactory struct{} func (this *ServerFactory) StreamCapability() v2net.NetworkList { return v2net.NetworkList{ - Network: []v2net.Network{v2net.Network_RawTCP}, + Network: []v2net.Network{v2net.Network_TCP, v2net.Network_RawTCP}, } }