New issue
Advanced search Search tips

Issue 654009 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

GetTotalSentBytes() and GetTotalReceivedBytes() return non-zero value when HttpResponseInfo.network_accessed is false

Project Member Reported by kundaji@chromium.org, Oct 7 2016

Issue description


GetTotalSentBytes() and GetTotalReceivedBytes() are supposed to return bytes sent and received over the network. So if a request does not access the network then both these methods are expected to return 0. However, I see this violated fairly frequently. 

There needs to be a DCHECK in code for this property or if this is expected then it should be documented.
 
Labels: OS-All

Comment 2 by mmenke@chromium.org, Oct 10 2016

Components: Internals>Network>Cache
I'd guess the bug here is with network_accessed, rather than GetTotalSentBytes / GetTotalReceivedBytes....  Range requests, for instance, may issue multiple requests, some may be served out of the cache, some may not be.  I have no idea if network_accessed reflect the most recent request, or the first request, but I strongly suspect it doesn't represent whether any of them went over the network.
There is a known bug in GetTotalSentBytes and GetTotalReceivedBytes where they don't take into account data use from previous jobs. See http://crbug/651957.
Project Member

Comment 4 by sheriffbot@chromium.org, Oct 16 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by bengr@chromium.org, Dec 1 2017

Labels: -Hotlist-Recharge-Cold
Status: WontFix (was: Untriaged)

Sign in to add a comment