[Varnish] #802: Assert error in VRT_r_obj_status()

Varnish varnish-bugs at varnish-cache.org
Wed Nov 3 10:52:36 CET 2010


#802: Assert error in VRT_r_obj_status()
-------------------------+--------------------------------------------------
 Reporter:  David Busby  |       Owner:  phk             
     Type:  defect       |      Status:  new             
 Priority:  low          |   Milestone:                  
Component:  varnishd     |     Version:  2.1.4           
 Severity:  minor        |    Keywords:  VRT_r_obj_status
-------------------------+--------------------------------------------------

Comment(by David Busby):

 This is the code to recreate the original reported issues


 {{{
 if(req.restarts < 4){
                         set beresp.grace = 60s;
                         C{

                                 syslog(LOG_ERR, "Spurious response from
 backend: xid %s request %s %s \"%s\" %d \"%s\" \"%s\"", VRT_r_req_xid(sp),
 VRT_r_req_request(sp), VRT_GetHdr(sp, HDR_REQ, "\005host:"),
 VRT_r_req_url(sp), VRT_r_obj_status(sp), VRT_r_obj_response(sp),
 VRT_GetHdr(sp, HDR_OBJ, "\011Location:"));
                         }C
                         restart;
                 }
 }}}

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




More information about the varnish-bugs mailing list