Commit 4d564df2 authored by Honfika's avatar Honfika

Forgot to rename the HttpTools class to SslTools

parent 01ab6351
...@@ -109,7 +109,7 @@ namespace Titanium.Web.Proxy ...@@ -109,7 +109,7 @@ namespace Titanium.Web.Proxy
connectArgs.WebSession.Response = ConnectResponse.CreateSuccessfullConnectResponse(version); connectArgs.WebSession.Response = ConnectResponse.CreateSuccessfullConnectResponse(version);
await clientStreamWriter.WriteResponseAsync(connectArgs.WebSession.Response); await clientStreamWriter.WriteResponseAsync(connectArgs.WebSession.Response);
var clientHelloInfo = await HttpsTools.GetClientHelloInfo(clientStream); var clientHelloInfo = await SslTools.GetClientHelloInfo(clientStream);
bool isClientHello = clientHelloInfo != null; bool isClientHello = clientHelloInfo != null;
if (isClientHello) if (isClientHello)
{ {
...@@ -206,7 +206,7 @@ namespace Titanium.Web.Proxy ...@@ -206,7 +206,7 @@ namespace Titanium.Web.Proxy
{ {
if (endPoint.EnableSsl) if (endPoint.EnableSsl)
{ {
var clientSslHelloInfo = await HttpsTools.GetClientHelloInfo(clientStream); var clientSslHelloInfo = await SslTools.GetClientHelloInfo(clientStream);
if (clientSslHelloInfo != null) if (clientSslHelloInfo != null)
{ {
......
...@@ -4,7 +4,7 @@ using Titanium.Web.Proxy.Helpers; ...@@ -4,7 +4,7 @@ using Titanium.Web.Proxy.Helpers;
namespace Titanium.Web.Proxy.Ssl namespace Titanium.Web.Proxy.Ssl
{ {
class HttpsTools class SslTools
{ {
public static async Task<bool> IsClientHello(CustomBufferedStream clientStream) public static async Task<bool> IsClientHello(CustomBufferedStream clientStream)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment