diff options
author | Samuel Williams <[email protected]> | 2024-04-28 18:09:49 +1200 |
---|---|---|
committer | git <[email protected]> | 2024-04-30 14:51:59 +0000 |
commit | 368ce0758e1f4c0fd38ae08297f432c0a9589d4a (patch) | |
tree | d3e8eb11a009111b58d8c826f758bcee2358992e | |
parent | f1afae2459e139430859f57b8351d180e9ef5d9f (diff) |
[ruby/openssl] Further clarification of documentation.
https://github.com/ruby/openssl/commit/0697f2f8b4
-rw-r--r-- | ext/openssl/lib/openssl/ssl.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb index 787d6e01f4..d28bf1a374 100644 --- a/ext/openssl/lib/openssl/ssl.rb +++ b/ext/openssl/lib/openssl/ssl.rb @@ -469,15 +469,15 @@ ssbzSibBsu/6iGtCOGEoXJf//////////wIBAg== # Closes the stream for writing. The behavior of this method depends on # the version of OpenSSL and the TLS protocol in use. - # - # In TLS 1.3 and later: + # # - Sends a 'close_notify' alert to the peer. # - Does not wait for the peer's 'close_notify' alert in response. - # + # # In TLS 1.2 and earlier: - # - Sends a 'close_notify' alert to the peer. - # - Waits for the peer's 'close_notify' alert in response. - # + # - On receipt of a 'close_notify' alert, responds with a 'close_notify' + # alert of its own and close down the connection immediately, + # discarding any pending writes. + # # Therefore, on TLS 1.2, this method will cause the connection to be # completely shut down. On TLS 1.3, the connection will remain open for # reading only. |