diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-02-25 23:45:17 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-02-25 23:45:17 +0100 |
commit | 1e486db9c24354c71036c3e4f1de5454dc249270 (patch) | |
tree | f52fa1b6ad7f9a753ad6a0d2a44dc16861be372a /lib/conncache.c | |
parent | 3ae77f079a4a0ea61013a8bde298db99fa74a1b3 (diff) |
file: try reading from files with no size
Some systems have special files that report as 0 bytes big, but still
contain data that can be read (for example /proc/cpuinfo on
Linux). Starting now, a zero byte size is considered "unknown" size and
will be read as far as possible anyway.
Reported-by: Jesse Tan
Closes #681
Diffstat (limited to 'lib/conncache.c')
0 files changed, 0 insertions, 0 deletions