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

bug fix #4

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

bug fix #4

wants to merge 1 commit into from

Conversation

amdfxlucas
Copy link

  • connection_state::open::incoming_streams was uninitialized
    ( connection erroneously couldnt accept streams because circular buffer wrongly deemed full (capacity zero) )

  • reading from stream never returned EOF after peer shutdown its end for write

- connection_state::open::incoming_streams was uninitialized
- reading from stream never returned EOF
after peer shutdown its end for write
@nmgwddj
Copy link

nmgwddj commented Nov 22, 2023

Indeed, the client did not respond in any way after being notified of the server disconnection, which can be resolved by applying this fix.

@cbodley
Copy link
Owner

cbodley commented Nov 22, 2023

thanks @amdfxlucas @nmgwddj. i haven't been working on this library, but i'm happy to merge under the conditions that you:

  • update the changes to be consistent with the existing coding style (indentation, spacing, braces)
  • add a test case that exercises this bug/fix

@cbodley
Copy link
Owner

cbodley commented Nov 23, 2023

i'm happy to review additional changes, but please open a separate pull request for each feature, with commit messages that describe the changes and their motivation

@amdfxlucas
Copy link
Author

oops, pushed to wrong branch. Didnt want those commits to show up here

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.

3 participants