r2232 - trunk/varnish-cache/bin/varnishd
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Nov 9 11:48:41 CET 2007
In message <ujr4pfvn1dt.fsf at false.linpro.no>, =?iso-8859-1?Q?Dag-Erling_Sm=F8rg
rav?= writes:
> - kevent changes can be buffered safely if we flush the buffer at the
> end of the loop in vca_kqueue_main(). Since we process (at most)
> NKEV kevents at a time, we will never have more than NKEV kevent
> changes to apply at that point, so it's safe to use a static
> buffer.
That's not true. We can receive multiple sessions in one read from
the pipe.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-commit
mailing list