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

fix: only stop genserver if connection is closed for reading, too. #285

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

mruoss
Copy link
Collaborator

@mruoss mruoss commented Oct 13, 2023

We only want to stop the process if the HTTP connection is closed for both reading AND writing. Apparently, if it is NOT open or reading AND writing it might still be open just for reading. Hence we need to check passing :read as type to Mint.open?/2.

closes #280


Requirements for all pull requests

  • Entry in CHANGELOG.md was created

@mruoss mruoss merged commit d6b5b56 into develop Oct 17, 2023
12 of 13 checks passed
@mruoss mruoss deleted the fix-stopping-genserver branch December 25, 2023 12:29
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.

Http2 Adapter causing 500 requests
1 participant