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

James/arch 69 go through error handling and cleanup #7

Merged
merged 6 commits into from
Apr 25, 2024

Conversation

jimmyaxod
Copy link
Contributor

  • Tidied up context cancel in ProtocolRW. Now when context cancelled, Handle() returns.
  • Removed HandleSend() in FromProtocol. The sends are now done inline rather than separately. This removes potential block if the HandleSend had quit, and something tried to send a packet.
  • Added a couple of tests for ProtocolRW context cancelling.

Copy link

linear bot commented Apr 23, 2024

ARCH-69 Go through error handling and cleanup

Silo needs to make sure no goroutines leaked, no deadlocks etc.

Go through and ensure that's the case, add some tests, etc

@jimmyaxod jimmyaxod merged commit 2810ce9 into master Apr 25, 2024
2 checks passed
@jimmyaxod jimmyaxod deleted the james/arch-69-go-through-error-handling-and-cleanup branch June 25, 2024 18:09
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