321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
|
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
|
-
+
-
+
-
+
|
if (SSL_write(_SSL, buffer, (int)length) < length)
@throw [OFWriteFailedException exceptionWithClass: [self class]
stream: self
requestedLength: length];
}
- (size_t)pendingBytes
- (size_t)numberOfBytesInReadBuffer
{
if (_SSL == NULL)
return [super pendingBytes];
return [super numberOfBytesInReadBuffer];
return [super pendingBytes] + SSL_pending(_SSL);
return [super numberOfBytesInReadBuffer] + SSL_pending(_SSL);
}
- (void)setPrivateKeyFile: (OFString*)privateKeyFile
{
OF_SETTER(_privateKeyFile, privateKeyFile, YES, YES)
}
|