google / ripunzip

Other
165 stars 17 forks source link

Fix bytes_read tracking in SeekableHttpReader #49

Closed djmitche closed 1 year ago

djmitche commented 1 year ago

This deletes what was, I think, leftover code that used counts of bytes read instead of ranges. It adds some tests to verify that CacheCell is properly accounting for bytes read.