Re: Sockets remain unclosed

2004-04-24 Thread Michael Koch
Am Samstag, 24. April 2004 00:56 schrieb Ito Kazumitsu: > > "+" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: > > +> But java.net.Socket creating redundant sockets is a real problem. > +> Let's look for a solution of this. > > This problem could be solved by changing Kaffe's native library. > So

Re: Sockets remain unclosed

2004-04-23 Thread Ito Kazumitsu
> "+" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: +> But java.net.Socket creating redundant sockets is a real problem. +> Let's look for a solution of this. This problem could be solved by changing Kaffe's native library. So nothing is to be done in GNU Classpath about this problem. __

Re: Sockets remain unclosed

2004-04-18 Thread Ito Kazumitsu
> ":" == Michael Koch <[EMAIL PROTECTED]> writes: :> The patch breaks setting/getting socket options on sockets created with :> Socket() or Socket(SocketImpl impl) constructors. The get/set[some :> option] rely on created socket implementations. But with your patch :> they are only created

Re: Sockets remain unclosed

2004-04-17 Thread Michael Koch
Am Samstag, 17. April 2004 02:40 schrieb Ito Kazumitsu: > Hi, > > As discussed in the Kaffe mailing list[1], in some cases, > GNU Classpath's java.net.Socket creates sockets which will > never be closed. > > [1] http://www.kaffe.org/pipermail/kaffe/2004-April/045856.html > http://www.kaffe.org

Sockets remain unclosed

2004-04-16 Thread Ito Kazumitsu
Hi, As discussed in the Kaffe mailing list[1], in some cases, GNU Classpath's java.net.Socket creates sockets which will never be closed. [1] http://www.kaffe.org/pipermail/kaffe/2004-April/045856.html http://www.kaffe.org/pipermail/kaffe/2004-April/045866.html And here is a patch: ChangeL

Re: Sockets remain unclosed

2004-03-21 Thread Michael Koch
Am Sonntag, 21. März 2004 00:05 schrieb Ito Kazumitsu: > Sorry, I made a mistake. > > > ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: > :> > :> -implAccept (socket); > :> +try > :> + { > :> +implAccept (socket); > :> + } > :> +catch (IOException e) > :> + {

Re: Sockets remain unclosed

2004-03-20 Thread Ito Kazumitsu
Sorry, I made a mistake. > ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: :> -implAccept (socket); :> +try :> + { :> +implAccept (socket); :> + } :> +catch (IOException e) :> + { :> +try :> + { :> +socket.close (); :> + } :> +catc

Sockets remain unclosed

2004-03-17 Thread Ito Kazumitsu
With reference to http://www.kaffe.org/pipermail/kaffe/2004-March/045645.html I suggest the following patch, which I committed in Kaffe. ChangeLog entry: 2004-03-17 Ito Kazumitsu <[EMAIL PROTECTED]> * libraries/javalib/java/net/ServerSocket.java (accept): Close the socket when e