[Varnish] #503: Assertion failure when trying to fetch a large object

Varnish varnish-bugs at projects.linpro.no
Sat Feb 6 06:36:43 CET 2010


#503: Assertion failure when trying to fetch a large object
--------------------+-------------------------------------------------------
 Reporter:  Sesse   |        Owner:         
     Type:  defect  |       Status:  closed 
 Priority:  normal  |    Milestone:         
Component:  build   |      Version:  trunk  
 Severity:  normal  |   Resolution:  wontfix
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by somsak):

 Could this at least be handled in more gentle way other than finding all
 large files and put it in (pipe) rules?

 The latter is not possible if you host a web-site which has so many user
 on it. You never know which path they are gonna put the file to.

 At the least, is it possible to have something like

 # This function will be called when HTTP header is fetched from peer, but
 not the whole content yet
 vcl_prefetch() {
      if obj.http.Content-Length > xxxx {
         return(pipe);
      }
 }

-- 
Ticket URL: <http://varnish-cache.org/ticket/503#comment:8>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list