Proposed patch to fix #972

Martin Blix Grydeland martin at
Fri Aug 5 10:39:26 CEST 2011

After discussions with DocWilco and Tollef, we came to the conclusion that
disabling streaming when meeting the conditions for 304 is a better

Attached patch refactors the conditionals handling into a check and do
function, and performs an extra check and disables if met when do_stream is


Martin Blix Grydeland
Varnish Software AS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-streaming-when-cond.patch
Type: application/octet-stream
Size: 3173 bytes
Desc: not available
URL: <>

More information about the varnish-dev mailing list