mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
whatsnew/3.5: Mention new ssl memory bio
This commit is contained in:
parent
50a2614786
commit
7d6adab716
1 changed files with 14 additions and 5 deletions
|
@ -114,6 +114,10 @@ Significantly Improved Library Modules:
|
||||||
:func:`gettempdirb` and :func:`gettempprefixb`, have been added to go along
|
:func:`gettempdirb` and :func:`gettempprefixb`, have been added to go along
|
||||||
with this. This behavior matches that of the :mod:`os` APIs.
|
with this. This behavior matches that of the :mod:`os` APIs.
|
||||||
|
|
||||||
|
* :mod:`ssl` module gained support for Memory BIO, which decouples SSL
|
||||||
|
protocol handling from network IO. (Contributed by Geert Jansen in
|
||||||
|
:issue:`21965`.)
|
||||||
|
|
||||||
Security improvements:
|
Security improvements:
|
||||||
|
|
||||||
* None yet.
|
* None yet.
|
||||||
|
@ -825,11 +829,16 @@ sndhdr
|
||||||
ssl
|
ssl
|
||||||
---
|
---
|
||||||
|
|
||||||
The :meth:`~ssl.SSLSocket.do_handshake`, :meth:`~ssl.SSLSocket.read`,
|
* The :meth:`~ssl.SSLSocket.do_handshake`, :meth:`~ssl.SSLSocket.read`,
|
||||||
:meth:`~ssl.SSLSocket.shutdown`, and :meth:`~ssl.SSLSocket.write` methods of
|
:meth:`~ssl.SSLSocket.shutdown`, and :meth:`~ssl.SSLSocket.write` methods of
|
||||||
:class:`ssl.SSLSocket` don't reset the socket timeout anymore each time bytes
|
:class:`ssl.SSLSocket` don't reset the socket timeout anymore each time bytes
|
||||||
are received or sent. The socket timeout is now the maximum total duration of
|
are received or sent. The socket timeout is now the maximum total duration of
|
||||||
the method.
|
the method.
|
||||||
|
|
||||||
|
* Memory BIO Support: new classes :class:`~ssl.SSLObject`,
|
||||||
|
:class:`~ssl.MemoryBIO`, and new
|
||||||
|
:meth:`SSLContext.wrap_bio <ssl.SSLContext.wrap_bio>` method.
|
||||||
|
(Contributed by Geert Jansen in :issue:`21965`.)
|
||||||
|
|
||||||
socket
|
socket
|
||||||
------
|
------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue