René's URL Explorer Experiment


Title: fix(transport): propagate mTLS adapter to auth session and fix connection leaks by nbayati · Pull Request #17689 · googleapis/google-cloud-python · GitHub

Open Graph Title: fix(transport): propagate mTLS adapter to auth session and fix connection leaks by nbayati · Pull Request #17689 · googleapis/google-cloud-python

X Title: fix(transport): propagate mTLS adapter to auth session and fix connection leaks by nbayati · Pull Request #17689 · googleapis/google-cloud-python

Description: Google Cloud Client Libraries for Python. Contribute to googleapis/google-cloud-python development by creating an account on GitHub.

Open Graph Description: This PR is fixing two issues found in the auth library: Adapter Connection Leaks Whenever the configure_mtls_channel() method was called, the code would create a new mTLS HTTPAdapter and mount it...

X Description: This PR is fixing two issues found in the auth library: Adapter Connection Leaks Whenever the configure_mtls_channel() method was called, the code would create a new mTLS HTTPAdapter and mount it...

Opengraph URL: https://github.com/googleapis/google-cloud-python/pull/17689

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:60edfc24-115d-0f6e-d77a-6f83e04286aa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC894:B0D94:12BD4:1A467:6AFDF72B
html-safe-nonce41225c10c723126ed44d3c2c08c6eb36ad07914503731810115c294ee9f947ac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODk0OkIwRDk0OjEyQkQ0OjFBNDY3OjZBRkRGNzJCIiwidmlzaXRvcl9pZCI6IjYxMjIxNzM1ODk1NTk4MzQ0MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccfabab898b3929f7e9b57cce8aa3981afa9171359e909d94be92757b6a3ac484
hovercard-subject-tagpull_request:4026513656
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/google-cloud-python/17689/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/db7c96d877b67be856267d3fcc2213d63f3184684614d06c14912083ee6ca0a1/googleapis/google-cloud-python/pull/17689
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/db7c96d877b67be856267d3fcc2213d63f3184684614d06c14912083ee6ca0a1/googleapis/google-cloud-python/pull/17689
og:image:altThis PR is fixing two issues found in the auth library: Adapter Connection Leaks Whenever the configure_mtls_channel() method was called, the code would create a new mTLS HTTPAdapter and mount it...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenbayati
hostnamegithub.com
expected-hostnamegithub.com
Noneee3343385a977757dd145b28fabf4a119780f2615a5a36c5a89f66c9b3b5616d
turbo-cache-controlno-cache
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release43ae91995f6e2d5ff7a491f3de438f1f723adeaa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/pull/17689#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17689
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17689
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17689
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17689
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17689
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues448 (448)https://github.com/googleapis/google-cloud-python/issues
Pull requests199 (199)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
nbayatihttps://github.com/nbayati
googleapis:mainhttps://github.com/googleapis/google-cloud-python/tree/main
nbayati:pr1bhttps://github.com/nbayati/google-cloud-python/tree/pr1b
Conversationhttps://github.com/googleapis/google-cloud-python/pull/17689
Commits2 (2)https://github.com/googleapis/google-cloud-python/pull/17689/commits
Checkshttps://github.com/googleapis/google-cloud-python/pull/17689/checks
Files changedhttps://github.com/googleapis/google-cloud-python/pull/17689/files
fix(transport): propagate mTLS adapter to auth session and fix connection leakshttps://github.com/googleapis/google-cloud-python/pull/17689#top
nbayatihttps://github.com/nbayati
googleapis:mainhttps://github.com/googleapis/google-cloud-python/tree/main
nbayati:pr1bhttps://github.com/nbayati/google-cloud-python/tree/pr1b
https://github.com/nbayati
nbayatihttps://github.com/nbayati
Jul 10, 2026https://github.com/googleapis/google-cloud-python/pull/17689#issue-4851678119
google-auth: mTLS token refresh blindspot due to unconfigured internal helper transport #17680https://github.com/googleapis/google-cloud-python/issues/17680
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
https://github.com/nbayati
fix(transport): propagate mTLS adapter to auth session and fix connec…https://github.com/googleapis/google-cloud-python/pull/17689/commits/36c80c5b64c73a7710cf6b5e7219ad9208596803
36c80c5https://github.com/googleapis/google-cloud-python/pull/17689/commits/36c80c5b64c73a7710cf6b5e7219ad9208596803
https://github.com/nbayati
nbayatihttps://github.com/nbayati
code ownershttps://github.com/googleapis/google-cloud-python/blob/cae94f99121d7708671a35acf82616cfe378cccb/.github/CODEOWNERS#L35
July 10, 2026 03:13https://github.com/googleapis/google-cloud-python/pull/17689#event-27795060970
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Jul 10, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#pullrequestreview-4668269988
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17689/files/36c80c5b64c73a7710cf6b5e7219ad9208596803
gemini-code-assisthttps://github.com/apps/gemini-code-assist
https://github.com/googleapis/google-cloud-python/pull/17689#pullrequestreview-4668269988
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
packages/google-auth/google/auth/transport/requests.pyhttps://github.com/googleapis/google-cloud-python/pull/17689/files/36c80c5b64c73a7710cf6b5e7219ad9208596803#diff-1d4f7530ee59eb4c228fa6159cedc9c2725943082bef96b050dbc1b62318e220
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
https://github.com/parthea
partheahttps://github.com/parthea
Jul 13, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#pullrequestreview-4686718155
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17689/files/36c80c5b64c73a7710cf6b5e7219ad9208596803
packages/google-auth/google/auth/transport/requests.pyhttps://github.com/googleapis/google-cloud-python/pull/17689/files/36c80c5b64c73a7710cf6b5e7219ad9208596803#diff-1d4f7530ee59eb4c228fa6159cedc9c2725943082bef96b050dbc1b62318e220
partheahttps://github.com/parthea
Jul 13, 2026https://github.com/googleapis/google-cloud-python/pull/17689#discussion_r3572382078
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
google-cloud-python/packages/google-auth/google/auth/transport/urllib3.pyhttps://github.com/googleapis/google-cloud-python/blob/bd5d1a4b100cd1d22fc19da75d07a0b47396edd3/packages/google-auth/google/auth/transport/urllib3.py#L322
bd5d1a4https://github.com/googleapis/google-cloud-python/commit/bd5d1a4b100cd1d22fc19da75d07a0b47396edd3
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
nbayatihttps://github.com/nbayati
Jul 17, 2026https://github.com/googleapis/google-cloud-python/pull/17689#discussion_r3605162811
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
https://github.com/parthea
partheahttps://github.com/parthea
nbayatihttps://github.com/nbayati
Jul 13, 2026https://github.com/googleapis/google-cloud-python/pull/17689#event-27919454176
https://github.com/macastelaz
macastelazhttps://github.com/macastelaz
Jul 15, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#pullrequestreview-4706951547
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17689/files/36c80c5b64c73a7710cf6b5e7219ad9208596803
packages/google-auth/google/auth/transport/requests.pyhttps://github.com/googleapis/google-cloud-python/pull/17689/files/36c80c5b64c73a7710cf6b5e7219ad9208596803#diff-1d4f7530ee59eb4c228fa6159cedc9c2725943082bef96b050dbc1b62318e220
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
packages/google-auth/google/auth/transport/requests.pyhttps://github.com/googleapis/google-cloud-python/pull/17689/files/36c80c5b64c73a7710cf6b5e7219ad9208596803#diff-1d4f7530ee59eb4c228fa6159cedc9c2725943082bef96b050dbc1b62318e220
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
https://github.com/nbayati
nbayatihttps://github.com/nbayati
Jul 17, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#ref-issue-4907377939
google-auth: connection leaks in urllib3 transport and metadata helper during mTLS updates #17755 https://github.com/googleapis/google-cloud-python/issues/17755
https://github.com/nbayati
fix(transport): isolate adapter retry configs and prevent race condit…https://github.com/googleapis/google-cloud-python/pull/17689/commits/9aa4349f4f56f859efd3022a5afd179ba8ea0d5f
9aa4349https://github.com/googleapis/google-cloud-python/pull/17689/commits/9aa4349f4f56f859efd3022a5afd179ba8ea0d5f
https://github.com/nbayati
nbayatihttps://github.com/nbayati
macastelazhttps://github.com/macastelaz
partheahttps://github.com/parthea
July 17, 2026 18:00https://github.com/googleapis/google-cloud-python/pull/17689#event-28135155821
https://github.com/macastelaz
macastelazhttps://github.com/macastelaz
Jul 17, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#pullrequestreview-4725507538
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17689/files/9aa4349f4f56f859efd3022a5afd179ba8ea0d5f
https://github.com/nbayati
nbayatihttps://github.com/nbayati
8289d32https://github.com/googleapis/google-cloud-python/commit/8289d328f9a1eb2abb766644e4f6748198679c80
Jul 17, 2026https://github.com/googleapis/google-cloud-python/pull/17689#event-28138580936
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
https://github.com/apps/release-please
release-pleasehttps://github.com/apps/release-please
Jul 17, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#ref-pullrequest-4913291186
chore: release main #17764 https://github.com/googleapis/google-cloud-python/pull/17764
hebaalazzehhttps://github.com/hebaalazzeh
Jul 17, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#ref-commit-c0c5a67
https://github.com/nbayati
https://github.com/hebaalazzeh
fix(transport): propagate mTLS adapter to auth session and fix connec…https://github.com/googleapis/google-cloud-python/commit/c0c5a6738e915f2b8e130e2077d7ea9b73e4486c
c0c5a67https://github.com/googleapis/google-cloud-python/commit/c0c5a6738e915f2b8e130e2077d7ea9b73e4486c
#17689https://github.com/googleapis/google-cloud-python/pull/17689
#17680https://github.com/googleapis/google-cloud-python/issues/17680
hebaalazzehhttps://github.com/hebaalazzeh
Jul 20, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#ref-commit-81b9ae4
https://github.com/nbayati
https://github.com/hebaalazzeh
fix(transport): propagate mTLS adapter to auth session and fix connec…https://github.com/googleapis/google-cloud-python/commit/81b9ae4f24954821053119308227da9978a7fca7
81b9ae4https://github.com/googleapis/google-cloud-python/commit/81b9ae4f24954821053119308227da9978a7fca7
#17689https://github.com/googleapis/google-cloud-python/pull/17689
#17680https://github.com/googleapis/google-cloud-python/issues/17680
https://github.com/apps/release-please
release-pleasehttps://github.com/apps/release-please
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#ref-pullrequest-4941396680
chore: release main #17809 https://github.com/googleapis/google-cloud-python/pull/17809
https://github.com/suztomo
suztomohttps://github.com/suztomo
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#ref-pullrequest-4943084781
chore(main): release google-auth 2.56.2 #17814 https://github.com/googleapis/google-cloud-python/pull/17814
suztomohttps://github.com/suztomo
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#ref-commit-cc109ca
https://github.com/suztomo
chore(main): release google-auth 2.56.2 (https://github.com/googleapis/google-cloud-python/commit/cc109caf93ddc46b748b7bcebfb952f43fe9b4b1
#17814https://github.com/googleapis/google-cloud-python/pull/17814
)https://github.com/googleapis/google-cloud-python/commit/cc109caf93ddc46b748b7bcebfb952f43fe9b4b1
cc109cahttps://github.com/googleapis/google-cloud-python/commit/cc109caf93ddc46b748b7bcebfb952f43fe9b4b1
google-auth-v2.56.1...google-auth-v2.56.2https://github.com/googleapis/google-cloud-python/compare/google-auth-v2.56.1...google-auth-v2.56.2
#17696https://github.com/googleapis/google-cloud-python/pull/17696
#17696https://github.com/googleapis/google-cloud-python/pull/17696
edc0423https://github.com/googleapis/google-cloud-python/commit/edc0423e57dd06bef3a93802642a074ab8b7bc5d
edc0423https://github.com/googleapis/google-cloud-python/commit/edc0423e57dd06bef3a93802642a074ab8b7bc5d
#17762https://github.com/googleapis/google-cloud-python/pull/17762
#17762https://github.com/googleapis/google-cloud-python/pull/17762
61e795ahttps://github.com/googleapis/google-cloud-python/commit/61e795a8299afec863487776c8a679adbb2911ab
61e795ahttps://github.com/googleapis/google-cloud-python/commit/61e795a8299afec863487776c8a679adbb2911ab
#17689https://github.com/googleapis/google-cloud-python/pull/17689
#17689https://github.com/googleapis/google-cloud-python/pull/17689
8289d32https://github.com/googleapis/google-cloud-python/commit/8289d328f9a1eb2abb766644e4f6748198679c80
8289d32https://github.com/googleapis/google-cloud-python/commit/8289d328f9a1eb2abb766644e4f6748198679c80
#17748https://github.com/googleapis/google-cloud-python/pull/17748
#17748https://github.com/googleapis/google-cloud-python/pull/17748
b60bb04https://github.com/googleapis/google-cloud-python/commit/b60bb04a73eb35b15320c54bc3493132e6ba5706
b60bb04https://github.com/googleapis/google-cloud-python/commit/b60bb04a73eb35b15320c54bc3493132e6ba5706
https://github.com/googleapis/release-pleasehttps://github.com/googleapis/release-please
https://github.com/googleapis/release-please#release-pleasehttps://github.com/googleapis/release-please#release-please
https://github.com/nbayati
nbayatihttps://github.com/nbayati
Aug 4, 2026 https://github.com/googleapis/google-cloud-python/pull/17689#ref-issue-4843470992
google-auth: mTLS token refresh blindspot due to unconfigured internal helper transport #17680 https://github.com/googleapis/google-cloud-python/issues/17680
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17689
https://github.com/macastelaz
macastelaz https://github.com/macastelaz
https://github.com/googleapis/google-cloud-python/pull/17689/files/9aa4349f4f56f859efd3022a5afd179ba8ea0d5f
https://github.com/parthea
parthea https://github.com/parthea
https://github.com/apps/gemini-code-assist
gemini-code-assist[bot] https://github.com/apps/gemini-code-assist
https://github.com/googleapis/google-cloud-python/pull/17689/files/36c80c5b64c73a7710cf6b5e7219ad9208596803
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
https://github.com/nbayati
nbayati https://github.com/nbayati
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17689
https://github.com/nbayati
https://github.com/parthea
https://github.com/macastelaz
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.