Skip to content

[3.9] bpo-43332: Buffer proxy connection setup packets before sending. (GH-24780)#24783

Merged
miss-islington merged 1 commit intopython:3.9from
miss-islington:backport-c25910a-3.9
Mar 8, 2021
Merged

[3.9] bpo-43332: Buffer proxy connection setup packets before sending. (GH-24780)#24783
miss-islington merged 1 commit intopython:3.9from
miss-islington:backport-c25910a-3.9

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 8, 2021

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.
(cherry picked from commit c25910a)

Co-authored-by: Gregory P. Smith [email protected]

https://bugs.python.org/issue43332

Automerge-Triggered-By: GH:gpshead

…honGH-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.
(cherry picked from commit c25910a)

Co-authored-by: Gregory P. Smith <[email protected]>
@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error performance Performance or resource usage labels Mar 8, 2021
@miss-islington
Copy link
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit c6e7cf1 into python:3.9 Mar 8, 2021
@miss-islington miss-islington deleted the backport-c25910a-3.9 branch March 8, 2021 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance or resource usage type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants