Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Current package versions:

- Add support for new `BITOP` operations in CE 8.2 ([#2900 by atakavci](https://github.com/StackExchange/StackExchange.Redis/pull/2900))
- Package updates ([#2906 by mgravell](https://github.com/StackExchange/StackExchange.Redis/pull/2906))
- Fix handshake error with `CLIENT ID` ([#2909 by mgravell](https://github.com/StackExchange/StackExchange.Redis/pull/2909))

## 2.8.41

Expand Down
3 changes: 3 additions & 0 deletions src/StackExchange.Redis/ResultProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,9 @@ protected override bool SetResultCore(PhysicalConnection connection, Message mes
{
connection.ConnectionId = clientId;
Log?.LogInformation($"{Format.ToString(server)}: Auto-configured (CLIENT) connection-id: {clientId}");

SetResult(message, true);
return true;
}
}
break;
Expand Down
1 change: 1 addition & 0 deletions tests/StackExchange.Redis.Tests/ConfigTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ public void GetClients()
if (server.Features.ClientId)
{
var id = conn.GetConnectionId(server.EndPoint, ConnectionType.Interactive);
Log("client id: " + id);
Assert.NotNull(id);
Assert.True(clients.Any(x => x.Id == id), "expected: " + id);
id = conn.GetConnectionId(server.EndPoint, ConnectionType.Subscription);
Expand Down
Loading