[Nailgun-users] [PATCH] ng.c: handle socket close during recvToFD()

Alex Osborne ato at meshy.org
Mon Nov 16 02:52:11 CST 2009


Hi nailgunners,

I discovered that occasionally ng.c can get stuck in a busy loop, 
particularly if the java side blows up with an exception or something. 
I tracked it down to recvToFD() not handling the socket being closed. 
Attached is a simple fix.

Cheers,

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ng-handle-socket-close-during-recv.patch
Type: text/x-diff
Size: 378 bytes
Desc: not available
URL: <http://mail.martiansoftware.com/pipermail/nailgun-users_martiansoftware.com/attachments/20091116/f8cdbe37/attachment.bin>


More information about the Nailgun-users mailing list