Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Commit

Permalink
Update SocksClientHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
honfika authored Apr 15, 2021
1 parent 7265452 commit d01da7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Titanium.Web.Proxy/SocksClientHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private async Task handleClient(SocksProxyEndPoint endPoint, TcpClientConnection

string password = Encoding.ASCII.GetString(buffer, 3 + userNameLength, passwordLength);
bool success = true;
if (ProxySchemeAuthenticateFunc != null)
if (ProxyBasicAuthenticateFunc != null)
{
success = await ProxyBasicAuthenticateFunc.Invoke(null, userName, password);
}
Expand Down

0 comments on commit d01da7e

Please sign in to comment.