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

The Polling XHR class is disconecting from the HttpURLConnection before closing the streams #65

Closed
wzurita opened this issue Aug 29, 2016 · 0 comments

Comments

@wzurita
Copy link
Contributor

wzurita commented Aug 29, 2016

The Polling XHR class is disconnecting from the HttpURLConnection before closing the streams (or the reader), This causes the TCP connection to be closed without the possibility of being cached by the JVM.

Also, it just does not seem correct to first call disconnect and then closing the InputStream of the connection.

This probably is not a problem for most people as I guess most use websockets instead of polling

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

1 participant