W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1998

Socket Timeout!

From: Wolfgang Platzer <wplatzer@iaik.tu-graz.ac.at>
Date: Wed, 15 Apr 1998 17:02:06 +0200
Message-ID: <017a01bd687f$750c2f30$1cea1b81@kopernikus.iaik.tu-graz.ac.at>
To: "Jigsaw Mailinglist" <www-jigsaw@w3.org>
Cc: "Benoit Mahe" <Benoit.Mahe@sophia.inria.fr>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:27 GMT