Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #8920/5cf5db56 backport][3.11] Re-enable keep-alive on proxies #8939

Conversation

patchback[bot]
Copy link
Contributor

@patchback patchback bot commented Aug 29, 2024

This is a backport of PR #8920 as merged into master (5cf5db5).

Fixes #5765.

This was disabled a long time ago in #3070. From what I've seen of various issues, the sentiment from users is that this causes problems and makes proxies too slow. asvetlov himself has suggested that modern proxies today may not have the issues he was experiencing when the change was made originally.

The original change had no test and I'm not familiar enough with the proxy code to write a new test. I suggest we put this into 3.11 and see if any users report regressions.

Copy link

codecov bot commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.71%. Comparing base (37b2604) to head (3b48dad).
Report is 580 commits behind head on 3.11.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             3.11    #8939      +/-   ##
==========================================
- Coverage   97.71%   97.71%   -0.01%     
==========================================
  Files         108      108              
  Lines       34231    34228       -3     
  Branches     4063     4063              
==========================================
- Hits        33449    33446       -3     
  Misses        585      585              
  Partials      197      197              
Flag Coverage Δ
CI-GHA 97.61% <ø> (-0.01%) ⬇️
OS-Linux 97.28% <ø> (-0.01%) ⬇️
OS-Windows 94.84% <ø> (-0.01%) ⬇️
OS-macOS 96.98% <ø> (+<0.01%) ⬆️
Py-3.10.11 97.06% <ø> (-0.01%) ⬇️
Py-3.10.14 96.99% <ø> (-0.01%) ⬇️
Py-3.11.9 97.23% <ø> (-0.01%) ⬇️
Py-3.12.5 97.33% <ø> (-0.01%) ⬇️
Py-3.9.13 96.97% <ø> (-0.01%) ⬇️
Py-3.9.19 96.90% <ø> (-0.01%) ⬇️
Py-pypy7.3.16 96.50% <ø> (-0.01%) ⬇️
VM-macos 96.98% <ø> (+<0.01%) ⬆️
VM-ubuntu 97.28% <ø> (-0.01%) ⬇️
VM-windows 94.84% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Dreamsorcerer Dreamsorcerer merged commit 8173932 into 3.11 Aug 29, 2024
30 of 31 checks passed
@Dreamsorcerer Dreamsorcerer deleted the patchback/backports/3.11/5cf5db569c8f32b5ecd6a1586e4b8c349767d941/pr-8920 branch August 29, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant