Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #22 from justcoding121/develop
Browse files Browse the repository at this point in the history
merge to beta
  • Loading branch information
honfika authored Apr 14, 2018
2 parents 2f7232a + c1aa7c1 commit a3d4602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StreamExtended/SslTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static async Task<bool> IsClientHello(CustomBufferedStream stream, Cancel
return clientHello != null;
}

public static async Task<ClientHelloInfo> PeekClientHello(CustomBufferedStream clientStream, CancellationToken cancellationToken)
public static async Task<ClientHelloInfo> PeekClientHello(CustomBufferedStream clientStream, CancellationToken cancellationToken = default (CancellationToken))
{
//detects the HTTPS ClientHello message as it is described in the following url:
//https://stackoverflow.com/questions/3897883/how-to-detect-an-incoming-ssl-https-handshake-ssl-wire-format
Expand Down Expand Up @@ -211,7 +211,7 @@ public static async Task<bool> IsServerHello(CustomBufferedStream stream, Cancel
return serverHello != null;
}

public static async Task<ServerHelloInfo> PeekServerHello(CustomBufferedStream serverStream, CancellationToken cancellationToken)
public static async Task<ServerHelloInfo> PeekServerHello(CustomBufferedStream serverStream, CancellationToken cancellationToken = default(CancellationToken))
{
//detects the HTTPS ClientHello message as it is described in the following url:
//https://stackoverflow.com/questions/3897883/how-to-detect-an-incoming-ssl-https-handshake-ssl-wire-format
Expand Down

0 comments on commit a3d4602

Please sign in to comment.