Differences From Artifact [eff1f9c576]:
- File src/OFTarArchiveEntry.m — part of check-in [264126064b] at 2016-05-29 19:59:32 on branch trunk — Add support for ustar (user: js, size: 4112) [annotate] [blame] [check-ins using]
To Artifact [9d5bd4c896]:
- File
src/OFTarArchiveEntry.m
— part of check-in
[1de551cb5f]
at
2016-06-07 22:56:28
on branch trunk
— Add support for reusing OFStreams after close
Right now, this is only useful for OFTCPSocket, as this is the only
class so far not establishing the stream in the init method. However,
this adds the general infrastructure to allow reuse to all subclasses of
OFStream. (user: js, size: 4129) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
150 151 152 153 154 155 156 157 158 159 160 161 162 163 | { return ([super hasDataInReadBuffer] || [_stream hasDataInReadBuffer]); } - (void)close { _atEndOfStream = true; } - (void)OF_skip { char buffer[512]; while (_toRead >= 512) { | > > | 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | { return ([super hasDataInReadBuffer] || [_stream hasDataInReadBuffer]); } - (void)close { _atEndOfStream = true; [super close]; } - (void)OF_skip { char buffer[512]; while (_toRead >= 512) { |
︙ | ︙ |