commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <>
Subject [httpclient] why all this stream wrapping
Date Sat, 25 Jun 2005 18:22:05 GMT
Can someone explain why the SocketInputStream
is wrapped in an AutoCloseInputStream as well
as a ContentLenghtInputStream.

This is currently byting me in the ass and
I would at least like to understand why
a read with the return code of -1 is so
bad that everything has to be wrapped like

Just curious ...I assume there must be a reason


View raw message