[Varnish] #47: pass mode does not handle POST

Varnish varnish-bugs at projects.linpro.no
Wed Sep 27 15:53:52 CEST 2006


#47: pass mode does not handle POST
----------------------+-----------------------------------------------------
 Reporter:  des       |       Owner:  des  
     Type:  defect    |      Status:  new  
 Priority:  high      |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 Trying to handle POST with pass mode leads to a stuck session; pipe mode
 works fine.

 This works:

 {{{
 if (req.request == "POST") {
     pipe;
 }
 }}}

 This doesn't:

 {{{
 if (req.request == "POST") {
     pass;
 }
 }}}

 As a use case, imagine an online newspaper which allows readers to send in
 their reactions to a news piece through a feedback form.

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


More information about the varnish-bugs mailing list