RE: epoll and closed file descriptors

From: Davide Libenzi
Date: Wed Sep 16 2009 - 20:55:31 EST


On Wed, 16 Sep 2009, Gilad Benjamini wrote:

> My bad. I meant to quote the line that you mentioned.
> I agree that the right thing to do is to remove the fd from epoll before
> closing it.
> However, due to the way curl works, I cannot do that. Changing the curl code
> doesn't seem trivial.

You probably need to explain how you use libcurl together with epoll, even
though this is not a help-userspace mailing list.


> Regardless, I still don't see how the kernel got into this situation, and if
> this situation is valid, why it doesn't bail out of it.

I think this was already explained.


- Davide


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/