W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1999

setSoTimeout!

From: Wolfgang Platzer <wplatzer@iaik.tu-graz.ac.at>
Date: Tue, 12 Jan 1999 11:54:06 +0100
To: "Jigsaw Mailinglist" <www-jigsaw@w3.org>
Message-ID: <001201be3e19$dfd4ead0$1cea1b81@kopernikus.iaik.tu-graz.ac.at>

In the source file SocketClient.java starting at line 219 one can find:

  try

    socket.setSoTimeout(300000); // FIXME for debugging only
  } catch (SocketException ex)

    ex.printStackTrace();
  }

But setSoTimeout() is very important for a correct working of Jigsaw (I
described the problem in an earlier EMail). So I suggest to use these lines
instead:

  try {
    socket.setSoTimeout(server.getRequestTimeOut());
  } catch (SocketException ex) {
    server.errlog("Unable to set socket timeout!");
  }

Wolfgang
Received on Tuesday, 12 January 1999 05:54:53 GMT

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