Issue #19783: nntplib now supports SSLContext.check_hostname and server name

indication for TLS/SSL connections.
This commit is contained in:
Christian Heimes 2013-12-02 20:20:11 +01:00
parent 1bc7068d7f
commit 216d463b1f
3 changed files with 16 additions and 4 deletions

View file

@ -102,6 +102,10 @@ The module itself defines the following classes:
.. versionadded:: 3.2
.. versionchanged:: 3.4
The class now supports hostname check with
:attr:`SSLContext.check_hostname` and *Server Name Indicator* (see
:data:`~ssl.HAS_SNI`).
.. exception:: NNTPError
@ -241,6 +245,10 @@ tuples or objects that the method normally returns will be empty.
.. versionadded:: 3.2
.. versionchanged:: 3.4
The method now supports hostname check with
:attr:`SSLContext.check_hostname` and *Server Name Indicator* (see
:data:`~ssl.HAS_SNI`).
.. method:: NNTP.newgroups(date, *, file=None)