Differences From Artifact [a9c8d0ec12]:
- File src/OFLHADecompressingStream.m — part of check-in [8939cbdb52] at 2023-01-06 09:04:02 on branch trunk — Update copyright (user: js, size: 12217) [annotate] [blame] [check-ins using] [more...]
To Artifact [94f1868a8f]:
- File
src/OFLHADecompressingStream.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: 12196) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
503 504 505 506 507 508 509 | - (int)fileDescriptorForReading { return ((id <OFReadyForReadingObserving>)_stream) .fileDescriptorForReading; } | | | | 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 | - (int)fileDescriptorForReading { return ((id <OFReadyForReadingObserving>)_stream) .fileDescriptorForReading; } - (bool)lowlevelHasDataInReadBuffer { return (_stream.hasDataInReadBuffer || _bufferLength - _bufferIndex > 0); } - (void)close { if (_stream == nil) @throw [OFNotOpenException exceptionWithObject: self]; |
︙ | ︙ |