hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-598) ContentLengthInputStream does not implement available() properly
Date Wed, 13 Sep 2006 07:26:22 GMT
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-598?page=all ]

Oleg Kalnichevski updated HTTPCLIENT-598:
-----------------------------------------

    Fix Version/s: 3.1 Beta 1

> ContentLengthInputStream does not implement available() properly
> ----------------------------------------------------------------
>
>                 Key: HTTPCLIENT-598
>                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-598
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.0.1, 3.1 Alpha 1
>            Reporter: Igor Lubashev
>             Fix For: 3.1 Beta 1
>
>
> ContentLengthInputStream should either extend FilterInputStream or should delegate available()
to wrappedStream.
> Otherwise, available() on the response stream (an instance of AutoCloseInputStream, which
is properly extending FilterInputStream, and, therefore, delegating to the ContentLengthInputStream)
always returns 0.
> This issue is important for the clients that try to improve performance by processing
all data that can be read in a non-blocking way before blocking on the network.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message