hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Lubashev" <IgorLubas...@everypoint.com>
Subject ContentLengthInputStream does not properly implement available()
Date Tue, 12 Sep 2006 22:06:26 GMT


I would normally enter this as a bug in Bugzila, but for some reason
Bugzila says that entering new bugs for HttpClient is disabled.  So here
it goes:


"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.




- Igor

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message