summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-02 19:10:50 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-12-02 19:10:50 (GMT)
commit1bc7068d7fde0eaf2155240f629bcf80280daff6 (patch)
treead4f3a6cb110ffca75e33511eabaed1d5854ef25 /Doc
parentb8a3f581580cc6dc7dd9621bbb41c2b85414eaba (diff)
downloadcpython-1bc7068d7fde0eaf2155240f629bcf80280daff6.zip
cpython-1bc7068d7fde0eaf2155240f629bcf80280daff6.tar.gz
cpython-1bc7068d7fde0eaf2155240f629bcf80280daff6.tar.bz2
Issue #19784: poplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/poplib.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/poplib.rst b/Doc/library/poplib.rst
index e248d6b..deb49fc 100644
--- a/Doc/library/poplib.rst
+++ b/Doc/library/poplib.rst
@@ -53,6 +53,10 @@ The :mod:`poplib` module provides two classes:
.. versionchanged:: 3.2
*context* parameter added.
+ .. versionchanged:: 3.4
+ The class now supports hostname check with
+ :attr:`SSLContext.check_hostname` and *Server Name Indicator* (see
+ :data:`~ssl.HAS_SNI`).
One exception is defined as an attribute of the :mod:`poplib` module:
@@ -198,6 +202,11 @@ An :class:`POP3` instance has the following methods:
.. versionadded:: 3.4
+ .. versionchanged:: 3.4
+ The method now supports hostname check with
+ :attr:`SSLContext.check_hostname` and *Server Name Indicator* (see
+ :data:`~ssl.HAS_SNI`).
+
Instances of :class:`POP3_SSL` have no additional methods. The interface of this
subclass is identical to its parent.