| Index: net/http/http_cache_transaction.cc
|
| diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
|
| index 3ab072787cf9d9f73c8d8cde49919c60ec027424..864395529a42415db98491b312733c17b8ba55ec 100644
|
| --- a/net/http/http_cache_transaction.cc
|
| +++ b/net/http/http_cache_transaction.cc
|
| @@ -902,6 +902,10 @@ int HttpCache::Transaction::DoGetBackendComplete(int result) {
|
|
|
| // Requested cache access mode.
|
| if (effective_load_flags_ & LOAD_ONLY_FROM_CACHE) {
|
| + if (effective_load_flags_ & LOAD_BYPASS_CACHE) {
|
| + // The client has asked for nonsense.
|
| + return ERR_CACHE_MISS;
|
| + }
|
| mode_ = READ;
|
| } else if (effective_load_flags_ & LOAD_BYPASS_CACHE) {
|
| mode_ = WRITE;
|
|
|