Skip to content

Conversation

@rmja
Copy link

@rmja rmja commented Feb 1, 2024

This fixes an issue that is first seen in .NET 8 where the socket address is now internally cached inside the event args between calls (https://github.com/dotnet/runtime/blob/v8.0.1/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.cs#L3098-L3107). Without this fix, all socket operations will go to the first configured remote endpoint.

This fixes an issue that is first seen in .NET 8 where the socket address is now internally cached inside the event args between calls (https://github.com/dotnet/runtime/blob/v8.0.1/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.cs#L3098-L3107).
Without this fix, all socket operations will go to the first configured remote endpoint.
@rmja
Copy link
Author

rmja commented Feb 13, 2024

For reference, this was found to be a regression in .NET 8, see dotnet/runtime#97965 (comment).

@rmja
Copy link
Author

rmja commented Jul 10, 2024

I am closing this as the regression was fixed in .NET 8.0.7 that was released yesterday.

@rmja rmja closed this Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant