DescriptionRecord partial savings for incomplete responses through the DRP.
Before this CL, incomplete responses through the Data Reduction Proxy
would be recorded as having 0 savings, even though a non-zero amount of
data was downloaded. After this CL, if the partial response had both
content-length and x-original-content-length headers, then the savings
are calculated with an effective original content length of
(partial_length * total_original_length / total_content_length).
BUG=439606
Committed: https://crrev.com/0dd2db4a82a78f70ab36e6264f8d721e25f36d74
Cr-Commit-Position: refs/heads/master@{#412720}
Patch Set 1 : Initial patchset #
Total comments: 14
Patch Set 2 : Addressed comments and removed dead code #Patch Set 3 : renamed ScaleContentLength to ScaleByteCountByRatio #
Messages
Total messages: 13 (5 generated)
|