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

Any way to check if connection is open? #31

Closed
davidcole1340 opened this issue May 22, 2016 · 4 comments
Closed

Any way to check if connection is open? #31

davidcole1340 opened this issue May 22, 2016 · 4 comments

Comments

@davidcole1340
Copy link
Contributor

I've been having issues where I am getting Tried to write to closed stream. after connecting so I'm planning to implement a message queue, however I have no way to check if the stream is writable as it is protected. Any way I could check or could I send in a PR for it?

@cboden
Copy link
Member

cboden commented May 24, 2016

Can you post a bit more on this? A bit of code if you can, is this error spit out or handled by Pawl properly? Ideally I'd like to keep the abstraction and provide better handling for you via Pawl than exposing the underlying stream.

@davidcole1340
Copy link
Contributor Author

davidcole1340 commented May 29, 2016

The error emitted by Pawl through error, I've done some debugging and it seems that the message buffer is writing a close frame, ending the socket and then sending another close frame (not sure how).

If you would like I can zip up my current rewrite project and send it to you.

@cboden
Copy link
Member

cboden commented Jan 2, 2017

Sorry for not responding to this. Is this still an issue or has it been resolved in any of the releases since opened?

@mbonneau
Copy link
Member

mbonneau commented Oct 3, 2017

Closing this because there has been no activity.

@mbonneau mbonneau closed this as completed Oct 3, 2017
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

No branches or pull requests

3 participants