GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSL_PENDING(3) FreeBSD Library Functions Manual SSL_PENDING(3)

SSL_pendingobtain number of readable bytes buffered in an SSL object

#include <openssl/ssl.h>

int
SSL_pending(const SSL *ssl);

Data is received in whole blocks known as records from the peer. A whole record is processed, for example decrypted, in one go and is buffered until it is read by the application via a call to SSL_read(3).

() returns the number of bytes of application data which are available for immediate read.

() takes into account only bytes from the TLS/SSL record that is currently being processed (if any).

SSL_pending() returns the number of buffered and processed application data bytes that are pending and are available for immediate read.

ssl(3), SSL_read(3)

SSL_pending() appeared in SSLeay 0.4 or earlier and has been available since OpenBSD 2.4.

Up to OpenSSL 0.9.6, SSL_pending() did not check if the record type of pending data is application data.

January 23, 2020 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.