From c9738d2c588a19f3580f15f6cbbe71b43c5e5cdd Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Mon, 12 Dec 2016 16:44:58 -0500 Subject: Issue #28089: Document TCP_NODELAY in asyncio Initial patch by Mariatta Wijaya. (grafted from 853e3f4d6cd98ac4590238bc1c60e40fd8ed3895) --- Doc/library/asyncio-protocol.rst | 3 +++ Doc/whatsnew/3.6.rst | 3 +++ 2 files changed, 6 insertions(+) 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 `. +.. 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 -------- -- cgit v1.2.1