Chromium Code Reviews
DescriptionBufferedDataSource now caches redirects for subsequent requests on Android
Previously BDS would always make requests to the initial URL. So if the
response was a redirect it would be followed on every subsequent request.
Now we save the destination after redirects and use it for future
requests. This will speed up seeking because we need to do
fewer http requests, and is more robust because we can be more sure that
we're requesting bytes from the same resource each time. See the bug for
an example.
This is Android only for now because Android has historically had this
behavior. MultiBufferDataSource, which will replace BDS, also
implements this logic, so all platforms will soon have it.
BUG=606666
Review-Url: https://codereview.chromium.org/1924383002
Cr-Commit-Position: refs/heads/master@{#391121}
(cherry picked from commit 7ca0b0cfb005a022f08346a778b4481b985078c1)
Committed: https://chromium.googlesource.com/chromium/src/+/53716c01e23140c6889be4be1216245164f39728
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||