Browse Source

Typo and refine code

tags/3.4.0
noisyfox 7 years ago
parent
commit
9cdb71875a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shadowsocks-csharp/Controller/Service/HttpHandler.cs

+ 2
- 2
shadowsocks-csharp/Controller/Service/HttpHandler.cs View File

@@ -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


Loading…
Cancel
Save