[
https://issues.apache.org/jira/browse/HTTPASYNC-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439590#comment-13439590
]
Oleg Kalnichevski commented on HTTPASYNC-24:
--------------------------------------------
Kireet,
I do not quite see how an empty response entity would cause the
ContentInputStream#close() got into an infinite loop, given that -1 (end of
stream) value returned by the read operation immediately terminates the loop.
Could you please submit a test case that reproduces the issue?
Oleg
> infinite loop in ContentInputStream.close
> -----------------------------------------
>
> Key: HTTPASYNC-24
> URL: https://issues.apache.org/jira/browse/HTTPASYNC-24
> Project: HttpComponents HttpAsyncClient
> Issue Type: Bug
> Affects Versions: 4.0-beta2
> Environment: linux
> Reporter: Kireet Reddy
>
> For requests that respond with no content, an infinite loop occurs at
> ContentInputStream.close() line 86 when using EntityUtils.toString() to read
> the response.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]