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

Wait for ingress traffic before shutting down #169

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

crawford
Copy link
Contributor

Prior to this change, if the application within the enclave exited
shortly after sending a particularly slow (e.g. large) response, the
ingress proxy tasks would be aborted before the transfer could
complete, causing the response to be prematurely terminated. Instead
of aborting the tasks, send a shutdown signal and wait for their
completion.

This fixes #167.

Prior to this change, if the application within the enclave exited
shortly after sending a particularly slow (e.g. large) response, the
ingress proxy tasks would be aborted before the transfer could
complete, causing the response to be prematurely terminated. Instead
of aborting the tasks, send a shutdown signal and wait for their
completion.
Copy link
Contributor

@eyakubovich eyakubovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done.

@crawford crawford merged commit eb7db63 into edgebitio:main Oct 19, 2023
@crawford crawford deleted the shutdown branch October 19, 2023 23:24
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.

Network transmissions can get interrupted on shutdown
2 participants