Differences From Artifact [0ba99f6e66]:
- File src/OFTarArchive.m — part of check-in [8939cbdb52] at 2023-01-06 09:04:02 on branch trunk — Update copyright (user: js, size: 11216) [annotate] [blame] [check-ins using] [more...]
To Artifact [1c76370f81]:
- File
src/OFTarArchive.m
— part of check-in
[a61e0594b4]
at
2023-10-15 12:32:29
on branch trunk
— Add -[OFStream lowlevelIsAtEndOfStream]
This allows for a much cleaner solution to avoid the internal read
buffer of e.g. a TLS connection never being processed while waiting for
a delimiter. (user: js, size: 11193) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
358 359 360 361 362 363 364 |
{
if (_stream == nil)
@throw [OFNotOpenException exceptionWithObject: self];
return _atEndOfStream;
}
| | | | 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 |
{
if (_stream == nil)
@throw [OFNotOpenException exceptionWithObject: self];
return _atEndOfStream;
}
- (bool)lowlevelHasDataInReadBuffer
{
return _stream.hasDataInReadBuffer;
}
- (int)fileDescriptorForReading
{
return ((id <OFReadyForReadingObserving>)_stream)
.fileDescriptorForReading;
}
|
| ︙ | ︙ |