]> err.no Git - varnish/commit
Bite the bullet and write an alternate acceptor which uses kqueue
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 2 Aug 2006 09:34:40 +0000 (09:34 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 2 Aug 2006 09:34:40 +0000 (09:34 +0000)
commit8a20a7434fa4444c16cebb1c09b421a6b6bb73f9
treeb16140c5324fcba672271afc54d7ea6871b37186
parent04b5fc7bd3b157d4263bb116293c4a8d95c9440a
Bite the bullet and write an alternate acceptor which uses kqueue
directly instead of libevent.

Degeneralize the header reading code in cache_http.c which seems to
be cleaner anyway.

An #ifdef at the top of cache_acceptor.c selects which implementation
you want: libevent or kqueue.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@597 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/cache_http.c