]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43332: Buffer proxy connection setup packets before sending. (GH-24780)
authorGregory P. Smith <greg@krypto.org>
Mon, 8 Mar 2021 07:35:13 +0000 (23:35 -0800)
committerGitHub <noreply@github.com>
Mon, 8 Mar 2021 07:35:13 +0000 (23:35 -0800)
commitc25910a135c2245accadb324b40dd6453015e056
treedcf6b4a83fea87c1456632c0b7194d2b1e5b2100
parent8d00462850b32da4649c3403692ed5515e6a96d1
bpo-43332: Buffer proxy connection setup packets before sending. (GH-24780)

We now buffer the CONNECT request + tunnel HTTP headers into a single
send call.  This prevents the OS from generating multiple network
packets for connection setup when not necessary, improving efficiency.
Lib/http/client.py
Lib/test/test_httplib.py
Misc/NEWS.d/next/Library/2021-03-07-11-23-20.bpo-43332.weatsh.rst [new file with mode: 0644]