You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/02/11 12:01:05 UTC

[jira] Commented: (HTTPCLIENT-628) AutoCloseInputStream.available() throws IOException when auto-closed

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472083 ] 

Oleg Kalnichevski commented on HTTPCLIENT-628:
----------------------------------------------

Looks good

Oleg

> AutoCloseInputStream.available() throws IOException when auto-closed
> --------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-628
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-628
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.1 Beta 1
>            Reporter: Roland Weber
>         Assigned To: Roland Weber
>             Fix For: 3.1 Final
>
>         Attachments: 2k7-02-11-autoclose.txt
>
>
> ACIS auto-close itself as soon as EOF is detected. That leads to IOExceptions being throw in response to calls that are valid for a stream that has reached EOF.
> ACIS should instead close the _underlying_ stream and switch itself into an EOF mode that does not throw exceptions until it is closed explicitly.
> reported by Tom Lipkis on the developer mailing list
> http://mail-archives.apache.org/mod_mbox/jakarta-httpcomponents-dev/200702.mbox/%3c200702101905.l1AJ5MeK027997@fw3.pss.com%3e

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org