Skip to content

close channel on request timeout #2

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

Merged
merged 1 commit into from
Mar 22, 2011
Merged

Conversation

jloomis
Copy link
Contributor

@jloomis jloomis commented Mar 22, 2011

abort sets channel to null (but does not close channel), yielding NPE on channel.getPipeline, which is caught in FutureTask.innerRunAndReset ==> future is canceled, but markChannelNotReadable never executed & channel never closed.

abort sets channel to null without closing it, which causes NPE on
getPipeline, which results in FutureTask ressetting without channel
ever being closed.
@jfarcand jfarcand merged commit 34202c7 into AsyncHttpClient:master Mar 22, 2011
@jfarcand
Copy link
Contributor

Good catch! Thanks!

slandelle pushed a commit that referenced this pull request Jul 2, 2014
oleksiys pushed a commit that referenced this pull request Jul 15, 2014
#525
"Move the hostname verification to after the SSL handshake has completed"
cs-workco pushed a commit to cs-workco/async-http-client that referenced this pull request Apr 13, 2023
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