r96 - trunk/varnish-cache/bin/varnishd

Dag-Erling Smørgrav des at linpro.no
Mon Apr 3 14:08:41 CEST 2006


"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> As convenient as http support is, not everybody will need it,
> and for others usurping the http_* and HTTP_* namespace will
> be a major problem in using libevent.
>
> I would propose that the http support be put in a separate
> library or at the very least hidden under a
>
>	#ifndef I_DO_NOTWANT_LIBEVENT_HTTP_SUPPORT
>
> so that the namespace polution can be avoided.

The middle road would be to move macros and prototypes for the HTTP
functionality to a separate header.  This shouldn't break any existing
software, since the HTTP code is not present in any released version
of libevent.

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



More information about the varnish-dev mailing list