Lines Matching full:read

65 \&\- read bytes from a TLS/SSL connection
79 \&\fBSSL_read_ex()\fR and \fBSSL_read()\fR try to read \fBnum\fR bytes from the specified \fBssl\fR
81 actually read in \fB*readbytes\fR.
85 the read, so that a subsequent call to \fBSSL_read_ex()\fR or \fBSSL_read()\fR will yield
89 In the paragraphs below a "read function" is defined as one of \fBSSL_read_ex()\fR,
92 If necessary, a read function will negotiate a TLS/SSL session, if not already
95 the read function operation. The behaviour of the read functions depends on the
101 invocation of a read function.
103 The read functions work based on the SSL/TLS records. The data are received in
106 Therefore, data that was not retrieved at the last read call can still be
107 buffered inside the SSL layer and will be retrieved on the next read
108 call. If \fBnum\fR is higher than the number of bytes buffered then the read
110 buffer, the read functions will trigger the processing of the next record.
111 Only when the record has been received and processed completely will the read
114 of the underlying transport (e.g. TCP), it may be necessary to read several
115 packets from the transport layer before the record is complete and the read call
119 record has been processed, the read function can return and set the error to
122 If read ahead was set using \fBSSL_CTX_set_read_ahead\fR\|(3), there might also still
126 If the underlying BIO is \fBblocking\fR, a read function will only return once the
127 read operation has been finished or an error occurred, except when a
133 If the underlying BIO is \fBnonblocking\fR, a read function will also return when
137 return value of the read function will yield \fBSSL_ERROR_WANT_READ\fR or
140 a read function can also cause write operations.
142 to satisfy the needs of the read function.
151 In this case the read function can be called without blocking or actually
164 Success means that 1 or more application data bytes have been read from the SSL
166 Failure means that no bytes could be read from the SSL connection.
175 The read operation was successful.
176 The return value is the number of bytes actually read from the TLS/SSL
180 The read operation was not successful, because either the connection was closed,