summaryrefslogtreecommitdiffstats
path: root/secure/lib/libssl/man/SSL_read.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libssl/man/SSL_read.3')
-rw-r--r--secure/lib/libssl/man/SSL_read.310
1 files changed, 8 insertions, 2 deletions
diff --git a/secure/lib/libssl/man/SSL_read.3 b/secure/lib/libssl/man/SSL_read.3
index de9351e..afccb5b 100644
--- a/secure/lib/libssl/man/SSL_read.3
+++ b/secure/lib/libssl/man/SSL_read.3
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.35
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.37
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "SSL_read 3"
-.TH SSL_read 3 "2007-03-15" "0.9.8e" "OpenSSL"
+.TH SSL_read 3 "2009-06-14" "0.9.8k" "OpenSSL"
.SH "NAME"
SSL_read \- read bytes from a TLS/SSL connection.
.SH "SYNOPSIS"
@@ -193,6 +193,11 @@ needs of \fISSL_read()\fR. The action depends on the underlying \s-1BIO\s0. When
non-blocking socket, nothing is to be done, but \fIselect()\fR can be used to check
for the required condition. When using a buffering \s-1BIO\s0, like a \s-1BIO\s0 pair, data
must be written into or retrieved out of the \s-1BIO\s0 before being able to continue.
+.PP
+\&\fISSL_pending\fR\|(3) can be used to find out whether there
+are buffered bytes available for immediate retrieval. In this case
+\&\fISSL_read()\fR can be called without blocking or actually receiving new
+data from the underlying socket.
.SH "WARNING"
.IX Header "WARNING"
When an \fISSL_read()\fR operation has to be repeated because of
@@ -231,5 +236,6 @@ return value \fBret\fR to find out the reason.
\&\fISSL_CTX_set_mode\fR\|(3), \fISSL_CTX_new\fR\|(3),
\&\fISSL_connect\fR\|(3), \fISSL_accept\fR\|(3)
\&\fISSL_set_connect_state\fR\|(3),
+\&\fISSL_pending\fR\|(3),
\&\fISSL_shutdown\fR\|(3), \fISSL_set_shutdown\fR\|(3),
\&\fIssl\fR\|(3), \fIbio\fR\|(3)
OpenPOWER on IntegriCloud