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

Re-enable keep-alive on proxies #8920

Merged
merged 3 commits into from
Aug 29, 2024
Merged

Re-enable keep-alive on proxies #8920

merged 3 commits into from
Aug 29, 2024

Conversation

Dreamsorcerer
Copy link
Member

@Dreamsorcerer Dreamsorcerer commented Aug 27, 2024

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.

@Dreamsorcerer Dreamsorcerer added backport-3.10 Trigger automatic backporting to the 3.10 release branch by Patchback robot backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot labels Aug 27, 2024
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Aug 27, 2024
@Dreamsorcerer Dreamsorcerer removed the backport-3.10 Trigger automatic backporting to the 3.10 release branch by Patchback robot label Aug 27, 2024
Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.25%. Comparing base (1d21dce) to head (dbafc81).
Report is 7 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8920   +/-   ##
=======================================
  Coverage   98.25%   98.25%           
=======================================
  Files         107      107           
  Lines       34125    34138   +13     
  Branches     4048     4048           
=======================================
+ Hits        33530    33543   +13     
  Misses        421      421           
  Partials      174      174           
Flag Coverage Δ
CI-GHA 98.15% <ø> (+<0.01%) ⬆️
OS-Linux 97.81% <ø> (+<0.01%) ⬆️
OS-Windows 96.21% <ø> (+<0.01%) ⬆️
OS-macOS 97.48% <ø> (+<0.01%) ⬆️
Py-3.10.11 97.58% <ø> (+<0.01%) ⬆️
Py-3.10.14 97.51% <ø> (+<0.01%) ⬆️
Py-3.11.9 97.74% <ø> (+<0.01%) ⬆️
Py-3.12.4 ?
Py-3.12.5 97.86% <ø> (+0.31%) ⬆️
Py-3.9.13 97.47% <ø> (+<0.01%) ⬆️
Py-3.9.19 97.41% <ø> (+<0.01%) ⬆️
Py-pypy7.3.16 97.02% <ø> (+<0.01%) ⬆️
VM-macos 97.48% <ø> (+<0.01%) ⬆️
VM-ubuntu 97.81% <ø> (+<0.01%) ⬆️
VM-windows 96.21% <ø> (+<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 5cf5db5 into master Aug 29, 2024
34 of 35 checks passed
@Dreamsorcerer Dreamsorcerer deleted the Dreamsorcerer-patch-4 branch August 29, 2024 21:20
Copy link
Contributor

patchback bot commented Aug 29, 2024

Backport to 3.11: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.11/5cf5db569c8f32b5ecd6a1586e4b8c349767d941/pr-8920

Backported as #8939

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@bdraco
Copy link
Member

bdraco commented Nov 19, 2024

force_close is being called externally

aio-libs/aiodocker#918 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow keep alive connection through the proxy
2 participants