[Varnish] #1214: s_bodybytes and range: header issue
Varnish
varnish-bugs at varnish-cache.org
Mon Oct 15 13:44:41 CEST 2012
#1214: s_bodybytes and range: header issue
------------------------------------+----------------------
Reporter: emilio | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: 3.0.3 | Severity: normal
Keywords: s_bodybytes range: 206 |
------------------------------------+----------------------
when using the range: header to partially download a file s_bodybytes is
incremented by the full size needed to finish the download instead of the
actually downloaded size.
this create huge s_bodybytes error (even 20 time the correct data) with
client like the iphone podcast app which split the file in many chunks,
each of them counted as the whole size of the missing download to the end
of the file.
also I see we have no size in the logs created by varnishncsa for
partially delivered (http 206) contents (but I can understand this is due
to not having the data available when the logs is written)
PS thanks for the great software!
emilio brambilla
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1214>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list