Hi!

 

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.

 

Thanks,

 

- Igor

Reply via email to