[PATCH] Fix for an issue where varnishlog reports an incorrect "Length" entry on gunzipped delivery

Dag Haavi Finstad daghf at varnish-software.com
Mon Jul 2 10:09:59 CEST 2012


I found a small bug related to updates of the 'bodybytes' counter. The
problem manifests itself on gunzipped delivery, where varnishlog will
display an incorrect 'Length' entry (for objects whose size is not
divisible by gzip_buffer).

Patch enclosed.

Dag Haavi Finstad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20120702/b1cccd63/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bodybytes-gunzip.patch
Type: application/octet-stream
Size: 1662 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20120702/b1cccd63/attachment.obj>

More information about the varnish-dev mailing list