Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Bugs

#993: 32-bit somewhere math in s_bodybytes

 

 

Varnish bugs RSS feed   Index | Next | Previous | View Threaded


varnish-bugs at varnish-cache

Aug 29, 2011, 4:08 AM

Post #1 of 2 (203 views)
Permalink
#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 [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Aug 29, 2011, 4:59 AM

Post #2 of 2 (183 views)
Permalink
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 [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

Varnish bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.