Differences From Artifact [8ff2f21b32]:
- File src/SSLSocket.m — part of check-in [afb5d4532f] at 2011-10-07 01:15:00 on branch trunk — Fix copyright (user: florob@babelmonkeys.de, size: 7588) [annotate] [blame] [check-ins using]
To Artifact [4d5d5d3a67]:
- File
src/SSLSocket.m
— part of check-in
[704eff4870]
at
2011-10-22 15:46:02
on branch trunk
— Use -[pendingBytes] of the superclass if we have no SSL context.
This happens if we are a listening socket. (user: js, size: 7638) [annotate] [blame] [check-ins using]
︙ | |||
255 256 257 258 259 260 261 262 263 264 265 266 267 268 | 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 | + + + | @throw [OFWriteFailedException exceptionWithClass: isa stream: self requestedLength: length]; } - (size_t)pendingBytes { if (ssl == NULL) return [super pendingBytes]; return [super pendingBytes] + SSL_pending(ssl); } - (void)setPrivateKeyFile: (OFString*)file { OF_SETTER(privateKeyFile, file, YES, YES) } |
︙ |