[Varnish] #910: handling esi:include target with pipe crashes varnish

Varnish varnish-bugs at varnish-cache.org
Thu May 5 23:48:12 CEST 2011


#910: handling esi:include target with pipe crashes varnish
----------------------+-----------------------------------------------------
 Reporter:  askalski  |        Type:  defect  
   Status:  new       |    Priority:  normal  
Milestone:            |   Component:  varnishd
  Version:  trunk     |    Severity:  normal  
 Keywords:            |  
----------------------+-----------------------------------------------------
 From the documentation at http://www.varnish-
 cache.org/trac/wiki/ESIfeatures
 {{{
 The target of <esi:include> must not be handled as pipe, the object will
 be ignored in that case.
 }}}

 Attempting this actually crashes varnish, rather than simply ignore the
 object as the documentation suggests.  Varnish 2.1.5 writes the following
 the shmlog: "INCOMPLETE AT: cnt_recv(1099)"

 Reproduced both in 2.1.5 and in trunk (f8dd5ccc).

 {{{
 <esi:include src="/crasher.html" />
 }}}

 {{{
 sub vcl_recv {
     if (req.url ~ "/crasher.html") {
         return (pipe);
     }
 }
 }}}

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/910>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list