Revert "Typo and refine code"

This reverts commit 9cdb71875a.
This commit is contained in:
noisyfox
2016-12-16 12:18:41 +11:00
parent 7a39c2c71f
commit 1f47812eca
@@ -66,7 +66,7 @@ namespace Shadowsocks.Controller.Service
private static readonly Regex HttpRequestHeaderRegex = new Regex(@"^([A-Z]+?) ([^\s]+) HTTP/1\.\d$");
private int _requestLineCount = 0;
private bool _isConnect = false;
private volatile bool _isConnect = false;
private string _targetHost;
private int _targetPort;
@@ -156,7 +156,7 @@ namespace Shadowsocks.Controller.Service
if (_targetHost == null)
{
Logging.Error("Unknown host");
Logging.Error("Unkonwn host");
Close();
}
else