[Varnish] #979: sp->wrk->h_content_length is not cleared when do_stream and restart in vcl_deliver

Varnish varnish-bugs at varnish-cache.org
Tue Aug 16 23:51:13 CEST 2011


#979: sp->wrk->h_content_length is not cleared when do_stream and restart in
vcl_deliver
----------------------+-----------------------------------------------------
 Reporter:  martin    |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  3.0.0
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 sp->wrk->h_content_length is set on Content-Length-based transfer after
 receiving backend headers, but not cleared if the request is restarted in
 vcl_deliver and the backend connection is closed. Causes assert on next
 pass through fetch.

 See attached test case

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/979>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list