Mailing List Archive

#993: 32-bit somewhere math in s_bodybytes
#993: 32-bit somewhere math in s_bodybytes
----------------------+-----------------------------------------------------
Reporter: kristian | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
A 5GB object is typically counted as 1GB. The counter itself is of
appropriate size and the object is successfully transferred.

As per IRC:

{{{
< phk> Ohh, that last one is simple: WRW_Write returns unsigned...
}}}

--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/993>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #993: 32-bit somewhere math in s_bodybytes [ In reply to ]
#993: 32-bit somewhere math in s_bodybytes
----------------------+-----------------------------------------------------
Reporter: kristian | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------

Comment(by kristian):

As en example: The value of s_bodybytes reads 25769803776 after 24 objects
of 5G (truncate --size 5G ...) has been successfully transferred. That's
Precisely 24GB.

--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/993#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs