Revert "Logging exception"

This reverts commit 566a0fcfa5.
This commit is contained in:
noisyfox
2016-12-16 12:18:25 +11:00
parent dc48546fed
commit 7a39c2c71f
2 changed files with 2 additions and 2 deletions
@@ -60,8 +60,7 @@ namespace Shadowsocks.Controller.Service
private void OnException(Exception ex, object state)
{
Logging.LogUsefulException(ex);
Close();
throw ex;
}
private static readonly Regex HttpRequestHeaderRegex = new Regex(@"^([A-Z]+?) ([^\s]+) HTTP/1\.\d$");
@@ -463,6 +463,7 @@ namespace Shadowsocks.Controller
services.Add(_pacServer);
services.Add(tcpRelay);
services.Add(udpRelay);
//services.Add(new Http2Socks5(_config.localPort));
_listener = new Listener(services);
_listener.Start(_config);
}