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

Handle vat shutdown while connecting #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Jul 12, 2022

When a vat is shut down it ends all registered connections and stops accepting new ones. However, if a connection was in progress (e.g. doing the TLS handshake but not yet registered) then we would miss it.

The test_parallel_fails test got upgraded to the stricter await_settled_exn in #233, which was wrong but that wasn't detected due to this bug.

When a vat is shut down it ends all registered connections and stops
accepting new ones. However, if a connection was in progress (e.g. doing
the TLS handshake but not yet registered) then we would miss it.

The `test_parallel_fails` test got upgraded to the stricter
`await_settled_exn` in mirage#233, which was wrong but that wasn't detected
due to this bug.
@talex5 talex5 marked this pull request as ready for review July 12, 2022 14:32
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