HTTP 416 Content-Range:bytes */0 issue?

Poul-Henning Kamp phk at phk.freebsd.dk
Sun May 31 10:41:35 CEST 2015


--------
In message <BLU182-W28F8F8D8CEC556D587A9D694B70 at phx.gbl>, kioto mitsubisi write
s:
>Thanks you for your help phk, can I ask one more question if you don't mind?
>In another ticket (#1618) that your fix refers to, reporter said that
> putting the code below worked for him. =A0Is this a valid workaround also?
>
>
>sub vcl_backend_response {
>   set beresp.do_stream = false;
>}

Yes, that should also work.

But you probably do not want to do that for all your traffic, but only
in case of the troublesome Range headers.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list