Differences From Artifact [f8706b398d]:
- File
src/tls/OFOpenSSLTLSStream.m
— part of check-in
[4b3d25ac76]
at
2022-03-24 21:00:03
on branch trunk
— OFOpenSSLTLSStream: Copy from _writeBIO in a loop
_writeBIO might contain more data than we can write at once, which could
then result in forever waiting on the next read because _writeBIO has
never been fully written to the underlying stream. (user: js, size: 10526) [annotate] [blame] [check-ins using] [more...]
To Artifact [faf6205c5a]:
- File src/tls/OFOpenSSLTLSStream.m — part of check-in [c765e8d058] at 2022-07-16 18:38:34 on branch trunk — OFOpenSSLTLSStream: Make compatible with LibreSSL (user: js, size: 10526) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
188 189 190 191 192 193 194 | } return bytesWritten; } - (bool)hasDataInReadBuffer { | | | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | } return bytesWritten; } - (bool)hasDataInReadBuffer { if (SSL_pending(_SSL) > 0 || BIO_ctrl_pending(_readBIO) > 0) return true; return super.hasDataInReadBuffer; } - (void)asyncPerformClientHandshakeWithHost: (OFString *)host runLoopMode: (OFRunLoopMode)runLoopMode |
︙ | ︙ |