Commit ed9fa2c7 authored by Matt Caswell's avatar Matt Caswell
Browse files

Tweak the SSL_read()/SSL_write() text based on feedback received.



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 54105ddd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -92,8 +92,8 @@ Success means that 1 or more application data bytes have been read from the SSL
connection. Failure means that no bytes could be read from the SSL connection.
Failures can be retryable (e.g. we are waiting for more bytes to
be delivered by the network) or non-retryable (e.g. a fatal network error). In
the event of a failure call L<SSL_get_error(3)> to find out the reason and if
the call is retryable or not.
the event of a failure call L<SSL_get_error(3)> to find out the reason which
indicates whether the call is retryable or not.

For SSL_read() and SSL_peek() the following return values can occur:

+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ no bytes could be written to the SSL connection (if
SSL_MODE_ENABLE_PARTIAL_WRITE is in use). Failures can be retryable (e.g. the
network write buffer has temporarily filled up) or non-retryable (e.g. a fatal
network error). In the event of a failure call L<SSL_get_error(3)> to find out
the reason and if the call is retryable or not.
the reason which indicates whether the call is retryable or not.

For SSL_write() the following return values can occur: