Re: kqueue does not set EV_EOF flag

From:

"Samuel J. Greear" <sjg@xxxxxxxxxxxx>

Date:

Wed, 7 Sep 2011 11:09:15 -0600

2011/9/6 Andrey N. Oktyabrski <ano@bestmx.ru>:
> Good day.
>
> I have some problems between nginx and backends. Nginx can not see when the
> backend closed connection. The nginx developers said there is a kqueue
> problem. They wrote test program (attached), which works well under the
> FreeBSD and NetBSD, but do not work properly under DragonFly.
>
> Using "select" or "poll" methods in the nginx solves the problem, but kqueue
> is preferred.
>
> $ uname -iprs
> DragonFly 2.10-RELEASE x86_64 X86_64_GENERIC_SMP
>
Andrey,
Thank you very much for providing a test case, I will follow up on
this as time permits.
Sam