You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When true, you can use the :meth:`SSLContext.set_npn_protocols` method to advertise
874
874
which protocols you want to support.
875
875
876
876
.. versionadded:: 3.3
@@ -1502,7 +1502,7 @@ to speed up repeated connections from the same clients.
1502
1502
handshake. It should be a list of strings, like ``['http/1.1', 'spdy/2']``,
1503
1503
ordered by preference. The selection of a protocol will happen during the
1504
1504
handshake, and will play out according to the `Application Layer Protocol Negotiation
1505
-
<https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_. After a
1505
+
<https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_. After a
1506
1506
successful handshake, the :meth:`SSLSocket.selected_npn_protocol` method will
1507
1507
return the agreed-upon protocol.
1508
1508
@@ -1663,12 +1663,7 @@ to speed up repeated connections from the same clients.
1663
1663
.. method:: SSLContext.session_stats()
1664
1664
1665
1665
Get statistics about the SSL sessions created or managed by this context.
1666
-
A dictionary is returned which maps the names of each `piece of information
1667
-
<<<<<<< HEAD
1668
-
<https://www.openssl.org/docs/manmaster/man3/SSL_CTX_sess_number.html>`_ to their
1669
-
=======
1670
-
<https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_sess_number.html>`_ to their
1671
-
>>>>>>> master
1666
+
A dictionary is returned which maps the names of each `piece of information <https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_sess_number.html>`_ to their
1672
1667
numeric values. For example, here is the total number of hits and misses
1673
1668
in the session cache since the context was created::
0 commit comments