summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-12-12 16:44:58 -0500
committerYury Selivanov <yury@magic.io>2016-12-12 16:44:58 -0500
commitc9738d2c588a19f3580f15f6cbbe71b43c5e5cdd (patch)
tree8cdc7b5c4137628aabb35a8cde8fa5501c4afc1f
parent1e85671abb4970d3b91441a44d556db77a931982 (diff)
downloadcpython-c9738d2c588a19f3580f15f6cbbe71b43c5e5cdd.tar.gz
Issue #28089: Document TCP_NODELAY in asyncio
Initial patch by Mariatta Wijaya. (grafted from 853e3f4d6cd98ac4590238bc1c60e40fd8ed3895)
-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 c0342f7f2f..3fbf510586 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 ddca2ef8ca..0187f94c6f 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
--------