]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) (GH-28770)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 Oct 2021 18:29:41 +0000 (11:29 -0700)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 18:29:41 +0000 (20:29 +0200)
commit92018a08240308c5beef9ccc712bef5c2e582926
tree597b4a67b0e37aa219eafb581fab350b7d5d8c86
parent496d1aa0b84466cc9b11f4f3b90cee93af1f393e
bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) (GH-28770)

Operating systems without support for TCP_NODELAY will raise an OSError
when trying to set the socket option, but the show can still go on.
(cherry picked from commit 0571b934f5f9198c3461a7b631d7073ac0a5676f)

Co-authored-by: rtobar <rtobarc@gmail.com>
Lib/http/client.py
Misc/NEWS.d/next/Library/2021-09-30-08-22-44.bpo-45328.8Z-Q0B.rst [new file with mode: 0644]