nexus
nexus copied to clipboard
bug fix
-
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
Indeed, the client did not respond in any way after being notified of the server disconnection, which can be resolved by applying this fix.
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
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
oops, pushed to wrong branch. Didnt want those commits to show up here