Skip to content

Commit 95400e2

Browse files
committed
Avoid enforing Socks4 VN value
1 parent 52df362 commit 95400e2

File tree

1 file changed

+0
-1
lines changed
  • src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler

1 file changed

+0
-1
lines changed

src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocksHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ private static async ValueTask EstablishSocks4TunnelAsync(Stream stream, bool is
298298
// +----+----+----+----+----+----+----+----+
299299
// 1 1 2 4
300300
await ReadToFillAsync(stream, buffer.AsMemory(0, 8), async).ConfigureAwait(false);
301-
VerifyProtocolVersion(ProtocolVersion4, buffer[0]);
302301

303302
switch (buffer[1])
304303
{

0 commit comments

Comments
 (0)