[Haskell-cafe] Re: sendfile leaking descriptors on Linux?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue Feb 23 23:54:06 EST 2010


On Feb 23, 2010, at 23:47 , Donn Cave wrote:
> My prediction is that on the contrary, the transition between  
> functional
> and defunct will not be not announced in any way by the peer, but  
> that's
> just guessing.  It would be a lot less interesting.


But that's not the issue.  The *kernel* is clearly detecting it; the  
problem is it's only being reported for the *read* end of the socket,  
whereas sendfile() (correctly) only cares about, and therefore only  
registers interest in, the *write* end.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100223/f3eaa519/PGP.bin


More information about the Haskell-Cafe mailing list