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

NettyAsyncHttpProvider issue during setting future.keepAlive() #8

Closed
wants to merge 3 commits into from

Conversation

jevgeni
Copy link

@jevgeni jevgeni commented Apr 18, 2011

Currently, if the AsyncHttpClient is used Netty provider and Suspended REST connection, the Future never returns, even if the handler is returning STATE.ABORT.

@jevgeni
Copy link
Author

jevgeni commented Apr 18, 2011

Upgraded from 1.6.2 to 1.6.3 and now the problem is gone. However, it still seems that the setKeepAlive() was set incorrectly. I'll attach the commit to change the README.

@jfarcand
Copy link
Contributor

Hi,

thanks for the contribution. I'm not sure about the change requested as it means we don't support keep-alive for chunk encoding or any server that aren't set the connection header. I can potentially make the behavior configurable, but can you explain in more detail your use case?

Thanks!

@jevgeni
Copy link
Author

jevgeni commented Apr 20, 2011

Right, I messed with HTTP 1.0 spec. In http 1.1 it is ON by default. Sorry for confusion, please, ingore the first two patches. However, update plz versions and the examples on the README to the latest one.

@jevgeni jevgeni closed this Apr 20, 2011
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.

None yet

2 participants