Differences From Artifact [f5ef5b6f99]:
- File src/OFHTTPClient.m — part of check-in [02f4bdcb94] at 2023-09-14 21:04:23 on branch trunk — Similar User-Agent/Server in OFHTTP{Client,Server} (user: js, size: 30964) [annotate] [blame] [check-ins using] [more...]
To Artifact [0348d66062]:
- File
src/OFHTTPClient.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: 30941) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1064 1065 1066 1067 1068 1069 1070 | if (_stream == nil) return -1; return ((OFStream <OFReadyForReadingObserving> *)_stream) .fileDescriptorForReading; } | | | | 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 | if (_stream == nil) return -1; return ((OFStream <OFReadyForReadingObserving> *)_stream) .fileDescriptorForReading; } - (bool)lowlevelHasDataInReadBuffer { return _stream.hasDataInReadBuffer; } - (void)close { if (_stream == nil) @throw [OFNotOpenException exceptionWithObject: self]; |
︙ | ︙ |