cache: assume file size from EOF position
If we're caching a stream with unknown size, and we reach EOF, then consider the EOF position the file size. Typically makes sense when reading from a pipe or a http connection that did not send a size.
W
wm4 committed
3cd394995f812aba93166febd1032e3f4208d49b
Parent: 771cb34