File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -856,9 +856,14 @@ TLS Upgrade
856
856
857
857
Upgrade an existing transport-based connection to TLS.
858
858
859
- Return a new transport instance, that the *protocol * must start using
860
- immediately after the *await *. The *transport * instance passed to
861
- the *start_tls * method should never be used again.
859
+ Create a TLS coder/decoder instance and insert it between the *transport *
860
+ and the *protocol *. The coder/decoder implements both *transport *-facing
861
+ protocol and *protocol *-facing transport.
862
+
863
+ Return the created two-interface instance. After *await *, the *protocol *
864
+ must stop using the original *transport * and communicate with the returned
865
+ object only because the coder caches *protocol *-side data and sporadically
866
+ exchanges extra TLS session packets with *transport *.
862
867
863
868
Parameters:
864
869
You can’t perform that action at this time.
0 commit comments