kqueue does not set EV_EOF flag
Samuel J. Greear
sjg at evilcode.net
Wed Sep 7 10:13:23 PDT 2011
2011/9/6 Andrey N. Oktyabrski <ano at 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
More information about the Users
mailing list