[kaffe] Sockets remain unclosed
ito.kazumitsu at hitachi-cable.co.jp
Tue Apr 6 17:09:05 PDT 2004
In message "Re: [kaffe] Sockets remain unclosed"
on 04/04/06, Helmer =?ISO-8859-15?Q?Kr=E4mer?= <hkraemer at freenet.de> writes:
> java.net.ServerSocket.accept() eventually calls
> impl.accept (socket.getImpl()), where "socket"
> is the java.net.Socket instance returned by the
> accept() call.
> java.net.Socket.getImpl() however calls impl.create(),
> which opens the new fd that never gets closed,
> since all references to it get overwritten in
> the impl.accept() call.
> Easiest way to fix this might be something like the
> attached patch.
Thank you for the patch. It works fine for me.
More information about the kaffe