http -> shadowsocks protocol directly

No more http->socks5 transform.
This commit is contained in:
noisyfox
2016-12-09 02:17:46 +11:00
parent f2b8e91f81
commit b04c59d8e6
8 changed files with 790 additions and 864 deletions
@@ -459,10 +459,10 @@ namespace Shadowsocks.Controller
TCPRelay tcpRelay = new TCPRelay(this, _config);
UDPRelay udpRelay = new UDPRelay(this);
List<Listener.IService> services = new List<Listener.IService>();
services.Add(_pacServer);
services.Add(tcpRelay);
services.Add(udpRelay);
services.Add(_pacServer);
services.Add(new Http2Socks5(_config.localPort));
//services.Add(new Http2Socks5(_config.localPort));
_listener = new Listener(services);
_listener.Start(_config);
}