diff --git a/FastGithub.ReverseProxy/GitubSshHandler.cs b/FastGithub.ReverseProxy/GithubSshHandler.cs similarity index 97% rename from FastGithub.ReverseProxy/GitubSshHandler.cs rename to FastGithub.ReverseProxy/GithubSshHandler.cs index 35c01c4..dc948a2 100644 --- a/FastGithub.ReverseProxy/GitubSshHandler.cs +++ b/FastGithub.ReverseProxy/GithubSshHandler.cs @@ -13,7 +13,7 @@ namespace FastGithub.ReverseProxy /// /// github的ssl处理者 /// - sealed class GitubSshHandler : ConnectionHandler + sealed class GithubSshHandler : ConnectionHandler { private const int SSH_PORT = 22; private const string GITHUB_COM = "github.com"; @@ -23,7 +23,7 @@ namespace FastGithub.ReverseProxy /// github的ssl处理者 /// /// - public GitubSshHandler(IDomainResolver domainResolver) + public GithubSshHandler(IDomainResolver domainResolver) { this.domainResolver = domainResolver; } diff --git a/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs b/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs index 091c260..811ef0d 100644 --- a/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs +++ b/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs @@ -91,7 +91,7 @@ namespace FastGithub } else { - kestrel.Listen(IPAddress.Any, SSH_PORT, listen => listen.UseConnectionHandler()); + kestrel.Listen(IPAddress.Any, SSH_PORT, listen => listen.UseConnectionHandler()); } } }