r2232 - trunk/varnish-cache/bin/varnishd

Dag-Erling Smørgrav des at linpro.no
Thu Nov 8 22:16:46 CET 2007


"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> If we get two events for the fd in the same batch, this fix will
> not save us.  I'm not sure if FreeBSD's current kqueue implementation
> prevents that from happening.

I think that in such a case, we would get a single kevent with
(kp->data > 0) and (kp->flags & EV_EOF).  I'll have to check the code
to be sure.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-commit mailing list