Skip to content

sizeBytes should be long (Int64) instead of int (Int32) #559

@candritzky

Description

@candritzky

The data size that can be reported via the Response.Ok(sizeBytes: ...) parameter is currently an int (32-bit).
This leads to an overflow if larger data transfers (in the GB range) are measured.

This leads to a (noticable) error/exception when reporting a single large data transfer.
It also leads to more subtle ("unnoticable") errors when calculating the total sum of the aggregated report.
There seem to be (silent) overflows.

Can we make this a long (64-bit)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions