File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -877,9 +877,14 @@ TLS Upgrade
877
877
878
878
Upgrade an existing transport-based connection to TLS.
879
879
880
- Return a new transport instance, that the *protocol * must start using
881
- immediately after the *await *. The *transport * instance passed to
882
- the *start_tls * method should never be used again.
880
+ Create a TLS coder/decoder instance and insert it between the *transport *
881
+ and the *protocol *. The coder/decoder implements both *transport *-facing
882
+ protocol and *protocol *-facing transport.
883
+
884
+ Return the created two-interface instance. After *await *, the *protocol *
885
+ must stop using the original *transport * and communicate with the returned
886
+ object only because the coder caches *protocol *-side data and sporadically
887
+ exchanges extra TLS session packets with *transport *.
883
888
884
889
Parameters:
885
890
You can’t perform that action at this time.
0 commit comments