From d8da38d16b813a77083f8769c97fd158afa7e2ac Mon Sep 17 00:00:00 2001 From: xljiulang <366193849@qq.com> Date: Fri, 13 Aug 2021 20:55:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E9=87=8D=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{GitubSshHandler.cs => GithubSshHandler.cs} | 4 ++-- FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename FastGithub.ReverseProxy/{GitubSshHandler.cs => GithubSshHandler.cs} (97%) 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()); } } }