DescriptionSupport delta-compressed variations server responses.
Makes the client send the "A-IM: x-bm" header to the server to
specify that it supports deltas in x-bm format and then makes it
process such deltas when received from the server (when the
response has the "IM: x-bm" header).
If a delta encoded response fails to apply, tracks the failure mode
in the existing store seed histogram and triggers a re-fetch of the
full response.
Also, changes the "If-Match" header sent that specifies the seed
SN to instead be "If-None-Match" to correctly match the semantics.
(The server now supports both.)
BUG=514699
Committed: https://crrev.com/b24f45595e1f29fd3ff04ea0c53ef14785ce9289
Cr-Commit-Position: refs/heads/master@{#342273}
Patch Set 1 : #Patch Set 2 : Rebase. #
Total comments: 13
Patch Set 3 : Added a test and a couple histograms. #Patch Set 4 : Address comments and rebase. #Patch Set 5 : Fix compile after rebase and expand country test. #Patch Set 6 : Fixing missing return in !is_compressed case. #
Messages
Total messages: 47 (32 generated)
|