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

Re: setSoTimeout!

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 12 Jan 1999 13:55:52 +0100 (MET)
To: Wolfgang Platzer <wplatzer@iaik.tu-graz.ac.at>
cc: Jigsaw Mailinglist <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.05.9901121354330.9265-100000@tarantula.inria.fr>
On Tue, 12 Jan 1999, Wolfgang Platzer wrote:

> 
> 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!");
>   }

You are right! I forgot this one (yet another dead FIXME :) ).
I have also fixes for the client part. The garbage collection of old
unused connections. The cvs repository will sonn be in sync.
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Tuesday, 12 January 1999 07:56:08 GMT

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