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

Don't close the MessageInputStream after signalling the arrival of a response, it will get closed after the response has been handled #7

Merged
merged 1 commit into from
Sep 9, 2016

Conversation

fjuma
Copy link
Contributor

@fjuma fjuma commented Sep 7, 2016

I was running into a problem where an EOFException would sometimes occur in RemoteClientTransport#lookup. It seems that the underlying issue was that the MessageInputStream was being closed after signalling the arrival of a response, before RemoteClientTransport#lookup had a chance to actually handle the response. This PR fixes this by no longer closing the MessageInputStream after signalling the arrival of a response (it gets closed in RemoteClientTransport#lookup after the response has been handled).

…response, it will get closed after the response has been handled
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.

2 participants