On Wednesday 08 April 2009 16:08:58 Daniel Cheng wrote: > On Wed, Apr 8, 2009 at 11:05 PM, Daniel Cheng <j16sdiz+freenet at gmail.com> wrote: > > On Wed, Apr 8, 2009 at 8:23 PM, Matthew Toseland > > <toad at amphibian.dyndns.org> wrote: > >> On Wednesday 08 April 2009 06:03:34 j16sdiz at freenetproject.org wrote: > >>> Author: j16sdiz > >>> Date: 2009-04-08 05:03:33 +0000 (Wed, 08 Apr 2009) > >>> New Revision: 26635 > >>> > >>> Modified: > >>> ? ?trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java > >>> Log: > >>> Reduce SocketTimeOutException > >>> > >>> SocketTimeOutException was causing the thread wake up > >>> every 1 second and creating (slow) Exceptions. > >>> > >>> This patch, however, effectivly broke the Hang Checker, > >>> hence must be applied after the "Remove UDPSocket Hang > >>> Checker" patch. > >> > >> As I understand it, waiting for a packet cannot be interrupted. Which means > > > > It can interrupted _ONLY IF_ you call close(). > > That's why I have r25533. > > Oops... I think I have handled that. but i didn't > This is fixed at r26654 > > >> that after this patch is applied, shutting down opennet and then starting it > >> up again within 2 minutes will break with a binding error. Correct? > > fixed
Tested? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090408/9f1d20ec/attachment.pgp>
