Initial streaming request blocking other requests to same url

Oddur Snær Magnússon oddur at ccpgames.com
Thu Feb 28 14:58:39 CET 2013


Reverting to 3.0.2streaming fixed this.

I had previously used version and I thought it had been rolled into 3.0.3, but apparently not. 

Are there any plans to integrate these streaming fixes into the trunk release ?

 - Oddur
 
-----Original Message-----
From: Reinis Rozitis [mailto:r at roze.lv] 
Sent: Thursday, February 28, 2013 12:38 PM
To: varnish-misc at varnish-cache.org
Cc: Oddur Snær Magnússon
Subject: Re: Initial streaming request blocking other requests to same url

> The 3.0 official
> documentation(https://www.varnish-cache.org/docs/3.0/reference/vcl.htm
> l)
> says:
> "As of Varnish Cache 3.0 the object will marked as busy as it is 
> delivered so only client can access the object."

Try the streaming fork: 
http://repo.varnish-cache.org/source/varnish-3.0.2-streaming.tar.gz or https://github.com/mbgrydeland/varnish-cache-streaming/
iirc the git version had some extra fixes since 3.0.2 release.


And for the particular objects in vcl_fetch set set beresp.do_stream = true;

For example:

sub vcl_fetch {
# whatever else

     if (req.url ~ "\.mp4") {
       set beresp.do_stream = true;
    }

     return (deliver);
}




p.s. if this works want ISKs in Eve :)


rr 




More information about the varnish-misc mailing list