Typo and refine code
This commit is contained in:
@@ -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 volatile bool _isConnect = false;
|
||||
private bool _isConnect = false;
|
||||
|
||||
private string _targetHost;
|
||||
private int _targetPort;
|
||||
@@ -156,7 +156,7 @@ namespace Shadowsocks.Controller.Service
|
||||
|
||||
if (_targetHost == null)
|
||||
{
|
||||
Logging.Error("Unkonwn host");
|
||||
Logging.Error("Unknown host");
|
||||
Close();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user