Skip to content

Commit dfea13d

Browse files
committed
Small fix
1 parent 57e6354 commit dfea13d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/MongoDB.Driver/Core/Connections/Socks5Helper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ private static int ProcessConnectResponse(byte[] buffer)
283283
// We skip the last bytes of the response as we do not need them.
284284
// We skip length(dst.address) + length(dst.port) - 1 --- length(dst.port) is always 2
285285
// -1 because we already ready the first byte of the address type
286-
// (used for the variable length domain-type addresses)
286+
// (necessary for the variable length domain-type addresses)
287287
return buffer[3] switch
288288
{
289289
AddressTypeIPv4 => 5,

tests/MongoDB.Driver.Tests/Specifications/socks5-support/Socks5SupportProseTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ public static IEnumerable<object[]> GetTestCombinations()
6464

6565
/* TODO:
6666
* - check if apiCompat is ok
67-
* - need to run the tests on .net framework as well
68-
* - cleanup tests
6967
* - Drivers MUST verify for at least one of the connection strings marked (succeeds)
7068
* that command monitoring events do not reference the SOCKS5 proxy host where the MongoDB service server/port are referenced.
7169
*

0 commit comments

Comments
 (0)