File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -545,6 +545,18 @@ def logout
545
545
# §6.2.1]}[https://www.rfc-editor.org/rfc/rfc3501#section-6.2.1]: to start a
546
546
# TLS session.
547
547
#
548
+ # Any +options+ are forwarded to OpenSSL::SSL::SSLContext#set_params.
549
+ #
550
+ # This method returns after TLS negotiation and hostname verification are
551
+ # both successful. Any error indicates that the connection has not been
552
+ # secured.
553
+ #
554
+ # *Note:*
555
+ # >>>
556
+ # Any #response_handlers added before STARTTLS should be aware that the
557
+ # TaggedResponse to STARTTLS is sent clear-text, _before_ TLS negotiation.
558
+ # TLS negotiation starts immediately after that response.
559
+ #
548
560
# ===== Capability
549
561
#
550
562
# The server's capabilities must include +STARTTLS+.
You can’t perform that action at this time.
0 commit comments