Toad <[EMAIL PROTECTED]> writes: >> > I also get quite some of these: >> > >> > java.io.IOException: Premature end of stream >> > at fiw.fcp.FCPMessage.readMessage(FCPMessage.java:34) >> > at fiw.fcp.FCPConn.insertStream(FCPConn.java:263) >> >> Hmm. Why does fred close his connections prematurely? It's not because >> you are restarting fred? > > I don't think it does. It's probably a socket timeout on FIW's end.
Hmm. That should give SocketTimeoutException (which is caught properly), shouldn't it? Does not seem so. However, after a few tests (replaced Fred by a simple prog that says nothing but disconnects on a keypress) i can see that I get an IOException like the one above when the connection is closed from the peer, but a ConnectException when I run into a SocketTimeout. Seems to be some work for me to fix that (in that case it should not mess up the log file)... mihi _______________________________________________ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
