hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: instream.read() ---- In SSL mode
Date Tue, 20 Apr 2010 09:53:35 GMT
On Tue, 2010-04-20 at 02:37 -0700, Guru Prasad P.S wrote:
> Exception trace:
> java.net.SocketException: Socket Closed
>         at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:201)
>         at java.net.Socket.setSoTimeout(Socket.java:997)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.setSoTimeout(SSLSocketImpl.java:2061)
>         at org.apache.http.impl.io.SocketInputBuffer.isDataAvailable(SocketInputBuffer.java:145)
>         at org.apache.http.impl.conn.LoggingSessionInputBuffer.isDataAvailable(LoggingSessionInputBuffer.java:64)
>         at org.apache.http.impl.io.IdentityInputStream.available(IdentityInputStream.java:74)
>         at org.apache.http.conn.EofSensorInputStream.available(EofSensorInputStream.java:171)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:325)
>         at java.io.FilterInputStream.read(FilterInputStream.java:90)

The exception is thrown because you are trying to read data from a
connection that has already been closed.

Oleg


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


Mime
View raw message