| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a021d33 commit 353d5bc
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -868,9 +868,9 @@ Constants | |||
| 868 | 868 | .. data:: HAS_NPN | |
| 869 | 869 | ||
| 870 | 870 | Whether the OpenSSL library has built-in support for *Next Protocol | |
| 871 | - Negotiation* as described in the `Application Layer Protocol Negotiation | ||
| 872 | - <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation >`_. When true, | ||
| 873 | - you can use the :meth:`SSLContext.set_npn_protocols` method to advertise | ||
| 871 | + Negotiation* as described in the `Application Layer Protocol | ||
| 872 | + Negotiation <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_. | ||
| 873 | + 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:: | |
| 1674 | 1669 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments