summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-12-12 21:44:58 (GMT)
committerYury Selivanov <yury@magic.io>2016-12-12 21:44:58 (GMT)
commit3432f2f47c1d3d2e97f13d58aef1bc5a72a8976c (patch)
treec8932bd8248dd1d98902f1ce15624f90a50ff00b
parent10beb3cfef97d162b49b95c538c69c17a20bc910 (diff)
downloadcpython-3432f2f47c1d3d2e97f13d58aef1bc5a72a8976c.zip
cpython-3432f2f47c1d3d2e97f13d58aef1bc5a72a8976c.tar.gz
cpython-3432f2f47c1d3d2e97f13d58aef1bc5a72a8976c.tar.bz2
Issue #28089: Document TCP_NODELAY in asyncio
Initial patch by Mariatta Wijaya.
-rw-r--r--Doc/library/asyncio-protocol.rst3
-rw-r--r--Doc/whatsnew/3.6.rst3
2 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index c0342f7..3fbf510 100644
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -25,6 +25,9 @@ the transport's kind.
The transport classes are :ref:`not thread safe <asyncio-multithreading>`.
+.. versionchanged:: 3.6
+ The socket option ``TCP_NODELAY`` is now set by default.
+
BaseTransport
-------------
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index ddca2ef..0187f94 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -875,6 +875,9 @@ Notable changes in the :mod:`asyncio` module since Python 3.5.0
but that use asyncio to handle them.
(Contributed by Jim Fulton in :issue:`27392`.)
+* ``TCP_NODELAY`` flag is now set for all TCP transports by default.
+ (Contributed by Yury Selivanov in :issue:`27456`.)
+
binascii
--------