commit | e5eb80e6adaab18ff7372adcd09f9e1af3a76871 | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Wed May 18 16:06:39 2011 -0700 |
committer | Jesse Wilson <jessewilson@google.com> | Wed May 18 16:10:26 2011 -0700 |
tree | 239817507921651f8167fecb679e398b659643f0 | |
parent | 09f1b0cc860e039dff39e9429c1eaddcb6af598e [diff] |
Make the HttpResponseCache robust to file I/O errors. If the filesystem fails, cache performance degrades. Ongoing writes should not see any filesystem errors: don't punish the writer who isn't benefitting from the cache. Ongoing reads may see IOExceptions while streaming files. In practice this will only happen if the directory disappears during use, as is the case when a removable partition is removed. Change-Id: Ibf4d51998d9beaba9f8c86c449fd5c97ca869cee http://b/3180373