r2108 - trunk/varnish-cache/bin/varnishd

Dag-Erling Smørgrav des at linpro.no
Thu Oct 18 12:39:22 CEST 2007


phk at projects.linpro.no writes:
> Log:
> Start pulling ESI:include stuff over from my private tree.
>
> This is the meat of the XML-dissecting code.
>
> In theory the task is pretty simple, but it gets complicated by the fact
> that the XML input can be split over multiple pieces of storage, with
> an element we care about straddling a boundary.
>
> I have not decided what to do about ESI violations or XML syntax errors,
> SHMlogging them, possibly controlled by a parameter might make sense.
> For now mark them in the source.

An ESI document doesn't need to be well-formed XML (it could be SGML,
or JavaScript, or plain text, or whatever), basically you just want to
grep for <esi:whatever> and ignore everything else.

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



More information about the varnish-commit mailing list