[Varnish] #318: Bug when 302 redirect used on ESI page

Varnish varnish-bugs at projects.linpro.no
Mon Sep 15 05:01:55 CEST 2008


#318: Bug when 302 redirect used on ESI page
----------------------+-----------------------------------------------------
 Reporter:  kierank   |       Owner:  phk  
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  major     |    Keywords:       
----------------------+-----------------------------------------------------
 When a 302 redirect occurs on a page with ESI varnish panics and no page
 is returned.

 Full Config file available if necessary.

 {{{
 elseif(req.url ~ "/login.php")
         {
                 esi;  /* Do ESI processing */
                 pass;
         }
 }}}

 (in this case login.php redirects with 302 if user is already logged in)
 (ESI is used if user is not logged in)

 The same error occurs with a 301 redirect too.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/318>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list