File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -469,15 +469,15 @@ def close_read
469469
470470 # Closes the stream for writing. The behavior of this method depends on
471471 # the version of OpenSSL and the TLS protocol in use.
472- #
473- # In TLS 1.3 and later:
472+ #
474473 # - Sends a 'close_notify' alert to the peer.
475474 # - Does not wait for the peer's 'close_notify' alert in response.
476- #
475+ #
477476 # In TLS 1.2 and earlier:
478- # - Sends a 'close_notify' alert to the peer.
479- # - Waits for the peer's 'close_notify' alert in response.
480- #
477+ # - On receipt of a 'close_notify' alert, responds with a 'close_notify'
478+ # alert of its own and close down the connection immediately,
479+ # discarding any pending writes.
480+ #
481481 # Therefore, on TLS 1.2, this method will cause the connection to be
482482 # completely shut down. On TLS 1.3, the connection will remain open for
483483 # reading only.
You can’t perform that action at this time.
0 commit comments