[Varnish] #849: Session timeout while receiving POST data from client causes multiple broken backend requests

Varnish varnish-bugs at varnish-cache.org
Fri Apr 8 21:54:20 CEST 2011


#849: Session timeout while receiving POST data from client causes multiple
broken backend requests
----------------------+-----------------------------------------------------
 Reporter:  lew       |       Owner:  kristian                                                             
     Type:  defect    |      Status:  new                                                                  
 Priority:  normal    |   Milestone:  Varnish 3.0 dev                                                      
Component:  varnishd  |     Version:  2.1.4                                                                
 Severity:  normal    |    Keywords:  503, post, backend write error: 11 (Resource temporarily unavailable)
----------------------+-----------------------------------------------------

Comment(by nathan):

 I can also confirm this issue, worked around using:


  {{{
      /* pipeline post requests trac #4124 */
      if (req.request == "POST") {
          return(pipe);
      }
  }}}

  and added this:
  {{{
  sub vcl_pipe {
      /* Force the connection to be closed afterwards so subsequent reqs
  don't use pipe */
      set bereq.http.connection = "close";
  }
  }}}

 Issue was happening with post file uploads from clients on a slow
 connection.

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/849#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list