Differences From Artifact [7aafb9081b]:
- File src/OFInflateStream.m — part of check-in [d6f5e2abc5] at 2023-07-25 21:21:02 on branch trunk — OFZIPArchive: Handle files spanning multiple parts (user: js, size: 17089) [annotate] [blame] [check-ins using] [more...]
To Artifact [fd902a590d]:
- File
src/OFInflateStream.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: 17068) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
670 671 672 673 674 675 676 | - (int)fileDescriptorForReading { return ((id <OFReadyForReadingObserving>)_stream) .fileDescriptorForReading; } | | | | 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 | - (int)fileDescriptorForReading { return ((id <OFReadyForReadingObserving>)_stream) .fileDescriptorForReading; } - (bool)lowlevelHasDataInReadBuffer { return (_stream.hasDataInReadBuffer || _bufferLength - _bufferIndex > 0); } - (void)close { if (_stream == nil) @throw [OFNotOpenException exceptionWithObject: self]; |
︙ | ︙ |