Socket Timeout!

I just saw that in Jigsaw2beta1in method

    protected synchronized void bind(Socket socket);

in class SocketClient the code

 try {
     socket.setSoTimeout(300000);
 } catch (SocketException ex) {
     ex.printStackTrace();
 }

was removed again (It is there in Jigsaw1beta2).

But without this code Jigsaw tries to read a request and if this is not
possible (connection lost, Browser crashed, ???) it will wait forever and
the attached SocketClient is lost till you restart Jigsaw.

Wolfgang


--
Dipl.-Ing. Wolfgang Platzer
Technische Universitaet Graz - University of Technology Graz
Institut für Angewandte Informationsverarbeitung
und Kommunikationstechnologien
Klosterwiesgasse 32/I, A-8010 Graz,
Tel: ++43 316 873-5527,Fax: ++43 316 873-5520
URL <http://www.iaik.tu-graz.ac.at/index.html>

Received on Wednesday, 15 April 1998 11:04:03 UTC