summaryrefslogtreecommitdiffstats
path: root/doc/ssl/SSL_set_shutdown.pod
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-08-20 14:34:16 +0000
committerLutz Jänicke <jaenicke@openssl.org>2001-08-20 14:34:16 +0000
commitd93eb21c7c1e39db098a7f1331a75cc95a783c2a (patch)
treecbf9558be88e1cc24ed820c22b8c54afb6c77d70 /doc/ssl/SSL_set_shutdown.pod
parenta403188f92101512d4d3e45bc7b8e047d283d9d2 (diff)
More interdependencies with respect to shutdown behaviour.
Diffstat (limited to 'doc/ssl/SSL_set_shutdown.pod')
-rw-r--r--doc/ssl/SSL_set_shutdown.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/ssl/SSL_set_shutdown.pod b/doc/ssl/SSL_set_shutdown.pod
index 119bb83c55..6289e635d9 100644
--- a/doc/ssl/SSL_set_shutdown.pod
+++ b/doc/ssl/SSL_set_shutdown.pod
@@ -46,7 +46,10 @@ The shutdown state of the connection is used to determine the state of
the ssl session. If the session is still open, when
L<SSL_clear(3)|SSL_clear(3)> or L<SSL_free(3)|SSL_free(3)> is called,
it is considered bad and removed according to RFC2246.
-The actual condition for a correctly closed session is SSL_SENT_SHUTDOWN.
+The actual condition for a correctly closed session is SSL_SENT_SHUTDOWN
+(according to the TLS RFC, it is acceptable to only send the "close notify"
+alert but to not wait for the peer's answer, when the underlying connection
+is closed).
SSL_set_shutdown() can be used to set this state without sending a
close alert to the peer (see L<SSL_shutdown(3)|SSL_shutdown(3)>).