Differences From Artifact [15b8e35c16]:
- File src/OFStream.m — part of check-in [8939cbdb52] at 2023-01-06 09:04:02 on branch trunk — Update copyright (user: js, size: 29986) [annotate] [blame] [check-ins using] [more...]
To Artifact [be4eb53104]:
- File
src/OFStream.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: 30080) [annotate] [blame] [check-ins using] [more...]
︙ | |||
92 93 94 95 96 97 98 | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | - - - - - + + + + + + + + + + | { OFFreeMemory(_readBufferMemory); OFFreeMemory(_writeBuffer); [super dealloc]; } |
︙ | |||
1182 1183 1184 1185 1186 1187 1188 | 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 | - + | } @finally { free(UTF8String); } } - (bool)hasDataInReadBuffer { |
︙ |