Deleted Added
sdiff udiff text old ( 76866 ) new ( 79998 )
full compact
1=pod
2
3=head1 NAME
4
5SSL_read - read bytes from a TLS/SSL connection.
6
7=head1 SYNOPSIS
8

--- 15 unchanged lines hidden (view full) ---

24the SSL_read() operation. The behaviour of SSL_read() depends on the
25underlying BIO.
26
27For the transparent negotiation to succeed, the B<ssl> must have been
28initialized to client or server mode. This is not the case if a generic
29method is being used (see L<SSL_CTX_new(3)|SSL_CTX_new(3)>, so that
30L<SSL_set_connect_state(3)|SSL_set_connect_state(3)> or SSL_set_accept_state()
31must be used before the first call to an SSL_read() or
32L function.
33
34If the underlying BIO is B<blocking>, SSL_read() will only return, once the
35read operation has been finished or an error occurred, except when a
36renegotiation take place, in which case a SSL_ERROR_WANT_READ may occur.
37This behaviour can be controlled with the SSL_MODE_AUTO_RETRY flag of the
38L<SSL_CTX_set_mode(3)|SSL_CTX_set_mode(3)> call.
39
40If the underlying BIO is B<non-blocking>, SSL_read() will also return
41when the underlying BIO could not satisfy the needs of SSL_read()

--- 51 unchanged lines hidden ---