Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow-up to #1749 #1765

Closed
wants to merge 2 commits into from
Closed

Conversation

lukebakken
Copy link
Contributor

Refactoring and cosmetic changes.

@lukebakken lukebakken self-assigned this Jan 9, 2025
Fixes #1749

* Add test project for GH #1749.
* Add `FirstChanceException` logging in #1749 test project.
* Add code to repeatedly close connection.
* Allow passing hostname to GH-1749 program as the first arg.
* Toxiproxy tests fixup.
* Ensure `_disposed` is set in `finally` block.
* Add lock object for disposal of Channels and Connections. Note: a
  `SemaphoreSlim` can't be used because it must be disposed as well,
  and that can't happen cleanly in a `Dispose` method.
* Add basic test to see what dispose after a channel exception does.
* Modify `CreateChannel` app to try and trigger GH1751
* Add TCS for server-originated channel closure. This is the "real" fix
  for the issue.
@lukebakken lukebakken force-pushed the rabbitmq-dotnet-client-1749-followup branch from 6c1ec23 to 73704fe Compare January 9, 2025 20:38
@lukebakken lukebakken closed this Jan 9, 2025
@lukebakken lukebakken deleted the rabbitmq-dotnet-client-1749-followup branch January 9, 2025 23:50
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