[Varnish] #445: ESI Processor failing when including empty document
Varnish
varnish-bugs at projects.linpro.no
Fri Feb 13 10:18:31 CET 2009
#445: ESI Processor failing when including empty document
----------------------+-----------------------------------------------------
Reporter: Skade | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
When including an ESI fragment with an empty body, ESI stops working and
delivers a broken document.
Varnish version:
{{{HIPE-Machine:varnish-2.0.3 skade$ /usr/local/sbin/varnishd -V
varnishd (varnish-2.0.3)
Copyright (c) 2006-2008 Linpro AS / Verdens Gang AS}}}
Document:
{{{<!-- head and everything -->
<body>
<esi:include src="/include" />
</body>
</html>}}}
Expected Document:
{{{<!-- head and everything -->
<body>
</body>
</html>}}}
Delivered Document:
{{{<!-- head and everything -->
<body>}}}
I tested on both OS X and Gentoo Linux. I doesn't look like varnish is
crashing.
My vcl and a demo server using ruby/sinatra is attached.
Regards,
Florian Gilcher
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/445>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list