help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: Problems with Socket>>isPeerAlive


From: Robin Redeker
Subject: Re: [Help-smalltalk] Re: Problems with Socket>>isPeerAlive
Date: Wed, 1 Nov 2006 23:35:10 +0100
User-agent: Mutt/1.5.11+cvs20060403

On Tue, Oct 31, 2006 at 01:31:04PM +0100, Paolo Bonzini wrote:
> Robin Redeker wrote:
> >On Tue, Oct 31, 2006 at 12:43:47PM +0100, Robin Redeker wrote:
> >  
> >>Hi,
> >>
> >>in the attachment there is a piece of code, which establishes a tcp
> >>connection to a listening socket and reads all arriving data from there.
> >>    
> Yes, the SIGIO arrives but events.c misses it because a POLLHUP 
> condition (peer dead) does not increment the return value of poll.
> 
> Fixing this in turn triggers a latent bug in sockets.  See the attached 
> patch, I need to test it a bit more before committing.
> 

But this doesn't fix my test case, should it?
I tried applying the patch to the latest cvs, and installing it and
tried it, but i got the same results: endless loop.

Robin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]