Skip to content

Commit

Permalink
Bug 1013587 - HTTP cache v2: Start preload on input stream open for e…
Browse files Browse the repository at this point in the history
…xisting entries, r=michal
  • Loading branch information
mayhemer committed Jun 12, 2014
1 parent bc36093 commit 739aae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netwerk/cache2/CacheFileInputStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ CacheFileInputStream::Seek(int32_t whence, int64_t offset)
return NS_ERROR_INVALID_ARG;
}
mPos = newPos;
EnsureCorrectChunk(true);
EnsureCorrectChunk(false);

LOG(("CacheFileInputStream::Seek() [this=%p, pos=%lld]", this, mPos));
return NS_OK;
Expand Down

0 comments on commit 739aae8

Please sign in to comment.