I'm getting literally crazy trying to figure out if and when HttpClient has 
closed the connection stream automatically.

The behaviour existed in 3.1 (AutoCloseInputStream), and I found indications 
that HttpClient 4 had solved the problem... well, no. Now it's called 
EofSensorWatcher, but the problem is the same: you perform a read() and instead 
of -1 you get an exception.

My question is: how can I know whether the InputStream content of an Entity 
returned by a response has been closed automatically? I'm getting spurious 
IOExceptions everywhere. Unfortunately, nobody seems to have the problem--I 
couldn't find any relevant information by Googling around.

Any help appreciated.

Ciao,

                                seba



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to