Andrey N. Oktyabrski <[email protected]> added the comment:

I have some problems between nginx and backends too.
Nginx can not see when the backend closed connection.
The nginx developers said there is a kqueue problem: kqueue does not set EV_EOF
flag. They has made 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

_____________________________________________________
DragonFly issue tracker <[email protected]>
<http://bugs.dragonflybsd.org/issue1998>
_____________________________________________________

Attachment: test-kqueue.c
Description: Binary data

Reply via email to